Common elements within tags: H1-H6 < H1 > – < H6 > tags define headings.

defines the largest heading.

defines the smallest title. Because the H element has exact semantics, be careful to choose the appropriate tag hierarchy to structure your document. Therefore, do not use header tags to change font sizes on the same line. Instead, use cascading style sheet definitions for a nice display. Instance
< HTML >
This is a heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6> <p> Please use the title tag only for the title text. Don’t use them just to produce bold text. Use other labels or CSS instead. </p> </body> </html> This is heading 1 This is heading 2 This is heading 3 This is heading 4 This is heading 5 This is Heading 6 uses the heading tag only for the heading text. Don’t use them just to produce bold text. Use other labels or CSS instead. The P < P > tag is used to define a paragraph. The p element automatically creates some white space around it. The browser adds these Spaces automatically, and you can constrain them with style sheets. Instance <! DOCTYPE HTML > < HTML > <head> <meta charset=”UTF-8″> <title> This is a title

this is a paragraph.

Paragraph elements are defined by the P tag.

These are paragraphs. Paragraph elements are defined by the P tag. The HR < HR > tag is used to create a horizontal separator line in an HTML page. Horizontal separators visually separate the document into sections. Instance
< HTML >
This is a title

hr tags define horizontal lines:


This is the paragraph.


This is the paragraph.


This is the paragraph. The

HR tag defines the horizontal line: this is the paragraph. This is the paragraph. The BR < BR > tag is used to insert a simple newline character. Instance
< HTML >< head>
This is a title

Welcome

To



the web World

Welcome To the Web world DIR The DIR attribute specifies the text direction of the element’s content. Note: The dir attribute is not valid for the following tags: ,

, , ,


,