websitewebsitewebsitewebsitewebsitewebsitewebsitewebsitewebsitewebsite
website
www.energy.gov
 [386 visits]Ads by Web Top Links Powered by gdshop gdshop reseller APi 
home | web hot tips | web top links | web top services
Web Tips
Select a category ¬

 Apache CSS Commerce Domains Flash Free Service HTML Hosting JavaScript MySQL PHP Promotion Resellers Servers XML


Use headings to structure your document:  
  • [43329] Use headings to structure your document ¬

    Use headings to structure your document

    Structure your document

    Most pages (especially text, but also graphics and multimedia) have structure that the author uses to make the content clearer. In (X)HTML it is possible to use heading elements of various levels to provide some of that structure.

    This can be used by people as a table of contents (many tools generate a table of contents like this), or to break the page into smaller chunks, for example to send to a small device. it can also be used to determine the key concepts in a page (as some search engines do).

    The Markup validator will provide an outline view of an (X)HTML page to show the structure - this is usually presented with distinctive text styling, although the details of your presentation can be set using a style sheet. If your page has several regular text styles but no heading elements, it may be that those really are headings, but are only being marked as paragraphs with a different style.

    Headings tags

    All the various flavors of (X)HTML define 6 levels of headings: <h1>, <h2>, <h3>, <h4>, <h5>, <h6>. It is foreseen that XHTML 2 will also provide generic headings, with a level determined by their depth in the structure.


    Vía: www.w3.org/QA/Tips/headings »



Tip Of The Day:  
  • [43560] Use <h1> for top-level heading ¬

    The default font size for <h1> in some browsers have, unfortunately, motivated many writers and tools to use an <h2> element in stead. This is misleading to tools that take advantage of heading structure of pages, such as Amaya's table of contents view. Consider using Cascading Style Sheets, which are designed to express the author's preferred font sizes corresponding to elements such as <h1> and <h2>


Domains   •   Hosting   •   Servers   •   Shopping Carts   •   SSL Certificates   •   Web Services   •   APi Resellers   •   Top

website
website website