Email to Friend


Fill out the following form to send current page to your friend.

Your Name * Your Email Address *
 
Friend Name * Friend Email Address * Add Friend
 
Message

Glossary

Email to friend    Bookmark and Share
Total 68 records found
Currently showing list: By P - T
Semantics
In document markup, semantics relates to meaning. XHTML documents as well as CSS classes and ids should be meaningful. For (X)HTML to be as rich and flexible as possible, use appropriate semantic XHTML tags whenever possible. For example, the <strong> tag has a defined meaning (that the content within is important). Browsers (visual, text, small-screen, speech) use this in different ways as appropriate. The use of markup like <strong>Important text</strong> is a good XHTML semantic tag. It is better than <span class="important">Important text</span> which is more people semantic. In HTML-semantics, browsers (not just people and specially-written software) can understand the distinction, as it is defined in the HTML specification. People-semantics holds meaning for people, and for programs that are designed with knowledge of a specific page, but is meaningless as far as the XHTML specification is concerned. However, when using CSS if an appropriate XHTML tag does not exist, use semantic class or id attributes that have meaning of the element's contents. In fact, adding additional information via CSS class and id is important for writing good CSS. Thoughtfully, semantically named classes, ids, etc. can help set up an (X)HTML document for future transformations and possible storage of data in XML format that can be transformed otherwise in a variety of ways. Examples of names that are not semantic are YellowBar, Blue14pxArial, Box, LeftColumn. BlueArialBlack is meaningless except in the context of whoever maintains the stylesheet and then it would be high maintenance because if you wanted to change that style, content would need to be changed not just the stylesheet. CSS names that are not semantic are of limited value and very error-prone. Use CSS naming schemes that describe content and not appearance, because then the appearance can change without the content changing. Examples of semantic names for classes are RecipeTitle, RecipeIngredient, RecipeInstructions or Author, ISBN, Description, Title, Summary, or NavColumn. They have a level of abstraction. You can use the label over and over and only have to maintain the one external definition. The linkage between a markup container and a stylesheet with a class or id name, can express the semantic nature of the markup's contents, giving the markup document more power, without fouling it with presentational information specific to one context.
Structure
 HTML and XHTML are structural markup languages, designed for modeling the structure of information, not its appearance. Structural markup is used to set out the logical structure of a page. The use of structural markup is strongly recommended. Structure is the information components within an HTML document. For instance: headings, lists and paragraphs. Headings should reflect the logical structure of the document (like an outline). H2 elements should follow H1 elements, H3 elements should follow H2 elements, etc. It isn't good practice to skip over levels (e.g., H1 directly to H3). Using heading levels appropriately will ensure documents are more accessible. It's important to use HTML for the purpose for which it was designed - structuring content. HTML is a structural markup language, designed for modeling the structure of information, not its appearance. Technologies like XHTML and CSS (web standards) and appropriate document structure are not the same thing: you can have one without the other, but the real goal is achieve both. As Eric A Meyer has said, "Document structure is like the support beams for a building. The final layout and appearance of the building will depend very heavily on the shape those support beams create. If you ignore that, and assemble the beams with no thought toward the final product (not following the blueprints, as it were), the best you can hope for is an inefficient, almost unusable building. In the worst case, the building will utterly collapse as soon as you try to add anything useful to the structure." 1

Get a quote
AAN Designers Desktop Presentation
Web Hosting Dubai
Project Reviews List
Compare list