HTML Heading Tags

We use six tags for Heading These are

font size decreses from <h1> to <h6> Example

Output This is h1 heading This is h2 heading This is h3 heading This is h4 heading This is h5 heading This is h6 heading We can use these tags to give appropriete heading in web page. … Read more

HTML pre tag

The pre tag is used to display preformatted text in HTML document. pre tag preserves the content structure it can be used to show pre-formated data stored in the database and in another documents and to show computer codes programs to HTML document. Syntax:

Example:

Result: Pre tag can also be used to … Read more

HTML Bold Italic & Underline Tags

For creating bold Itelic and Underline text we use following syntax. We can also use nesting of tags Example:

Output: This is bold text This is italic text This text is underline This is bold and italic text

HTML Subscript and Superscript tags

To show data in subscript and in superscript format we use <sub>..</sub> and <sup>..</sup> tags.

Example: Output: X2+Y2 H2O

HTML5 Document Structure

HTML5 Document Structure General HTML 5 Document Structure is as below … ……. <!DOCTYPE html> specifies that this document is HTML5 document and you can use all html5 tags here. <html> is root tag of HTML document it contains two child tags <head> and <body> <head> specifies that this portion contains heading information of the … Read more