H-129, Plari, Hodal, Palwal, HR
+91 9992755268

HTML Headings & Paragraph

1. HTML 5 Headings

What is HTML Headings?

HTML defines six levels of headings. A heading element implies all the font changes, paragraph breaks before and after, and any white space necessary to render the heading. The heading elements are H1, H2, H3, H4, H5, and H6 with H1 being the highest (or most important) level and H6 the least.

 

<Html>
<head>
 <title> SP3hub</title>
</head>
<body>
 <h1> this is heading 1</h1>
 <h2>this is heading 2 </h2>
 <h3>this is heading 2 </h3>
 <h4>this is heading 2 </h4>
 <h5>this is heading 2 </h5>
 <h6>this is heading 2 </h6> 
</body>
</html>

 
 
 

2. HTML 5 Paragraph

 

What is HTML Paragraph?

The HTML p element represents a paragraph of text. Paragraphs are usually represented in visual media as blocks of text that are separated from adjacent blocks by vertical blank space and/or first-line indentation. Paragraphs are block-level elements

 

<Html>
<head>
 <title> SP3hub</title>
</head>
<body>
 <p> this is paragraph tag </p>
 
</body>
</html>