24 Jun 2016

HTML Headings

HTML Headings:

  • Headings are defined with the

    to

    tags.
  • defines the most important heading.

    defines the least important heading.


Example:

This is a heading

This is a heading

This is a heading


Headings Are Important:

  • Use HTML headings for headings only. Don't use headings to make text BIG or bold.
  • Search engines use your headings to index the structure and content of your web pages.
  • Users skim your pages by its headings. It is important to use headings to show the document structure.
  • h1 headings should be main headings, followed by h2 headings, then the less important h3, and soon.


HTML Horizontal Rules:

  • The
    tag creates a horizontal line in an HTML page.
  • The hr element can be used to separate content:


HTML Element:

  • The HTML element has nothing to do with HTML headings.
  • The HTML element contains meta data. Meta data are not displayed.
  • The HTML element is placed between the tag and the tag:


HTML Element:</b></p> <p style="text-align: justify;"> </p> <ul> <li>The HTML <title> element is meta data. It defines the HTML document's title.</li> <li>The title will not be displayed in the document, but might be displayed in the browser tab.</li> </ul> <p> </p> <p style="text-align: justify;"> <br></p> <p style="text-align: justify;"> <b>HTML <meta> Element:</b></p> <p style="text-align: justify;"> <br></p> <p style="text-align: justify;"> </p> <ul> <li>The HTML <meta> element is also meta data.</li> <li>It can be used to define the character set, and other information about the HTML document.</li> </ul> <p> </p> <p style="text-align: justify;"> <br></p> <p style="text-align: justify;"> <b>More Meta Elements:</b></p> <p style="text-align: justify;"> <br></p> <p style="text-align: justify;"> </p> <ul> <li>In the chapter about HTML styles you discover more meta elements:</li> <li>The HTML <style> element is used to define internal CSS style sheets.</li> <li>The HTML <link> element is used to define external CSS style sheets.</li> </ul> <p> </p> <div style="text-align: justify;"> <br></div> </div>

Share this

0 Comment to "HTML Headings"

Post a Comment