Breaking News

Search This Blog

Saturday, July 14, 2018

html Headings



Headings, <Hx> </Hx>



Inside the body element, elements of H1 to H6 elements are usually used for the major divisions of the document. Titles are allowed to appear in any order, but if you follow these guidelines, then you will get the best results when your documents appear in the browser:


  1. H1: Should be used as the title of the highest level, H2 as the next highest, and much further.
  2. You should not miss title levels: For example, H3 should not appear after H3, unless there is no H2 between them.

Headings are defined with the <h1> to <h6>tags.

<h1>defines the largest heading while <h6>defines the smallest.

<h1>This is a heading</h1>

<h2>This is a heading</h2>

<h3>This is a heading</h3>

<h4>This is a heading<./h4>

<h5>This is a heading</h5>
<h6<This is a heading</h6>
HTML automatically adds an extra blank line before and after a heading. A useful heading attribute is align. 

MOST POPULAR

  1. HTML First Simple Program
  2. Hello : How to Create Your First Java Program
  3. how to run java program in CMD
  4. How to set Environment Variables in Java: Path and Classpath


No comments:

Post a Comment