DEV Community

Kishan Rai P
Kishan Rai P

Posted on

HTML Media Tags

=> Title Tag
=> Heading Tag
=> Paragraph Tag
=> Break Tag
=> Bold, Italic, and Underline Tag
=> Superscript Tag
=> Subscript Tag
=> Strike or Delete Tag
=> Horizontal Tag
=> Small Tag
=> Mark Tag
=> Pre Tag
=> Comment Tag

Title Tag
The title tag is an HTML code tag that allows you to give a title to webpage. The body title is placed between the <head> and the </head> tags.

Image description

Heading Tag
HTML headings are title or subtitles that you want to display on a webpage. There are six levels of heading in APA Style. the heading elements are H1, H2, H3,H4,H5,H6.

Level 1 is the highest or main level of heading, Level 2 is a subheading of Level 1, Level 3 is a subheading of Level 2, and so on through levels 4 and 5 and 6. The number of headings to use in a paper depends on the length and complexity of the work.

Image description
Paragraph Tag
The <p> tag defines a paragraph. The tag <p> and </p> are used for the beginning and end of paragraph tags. When the paragraph tag is added then it automatically puts a blank space before the starting of the text.

Image description

Break Tag
The <br> tag is single line break element. The <br> tag is useful for writing address poems. The <br> tag is an empty tag which means that it has no end tag.

Image description

Bold Tag
To bold the next in HTML, you can use either the <strong> tag or the <b> (bold) tag.

Image description

Italic Tag
To italicize the text in HTML, you can use either the <em> tag or the <i> (Italics) tag. Both these tags italicize the text.

Image description

Underline Tag
To Underline the text in HTML, you can use the <u> tag or the <ins> (Underline) tag. Both of these tags underline the text.

Image description

Superscript Tag
HTML <sup> tag is termed as superscript tag which is used to define superscript text. The text with in <sup> tag appears with an upper baseline and renders.

Image description

Subscript Tag
HTML <sub> tag is termed as Subscript tag and which is used to define subscript text. The text within <sub> tag with an lower baseline and with a smaller.

Image description

Strike Tag or Delete Tag
The <strike> tag defines a strike or line through Text. This tag creates a cut in the text. This tag is depreciated from HTML 5. Now, the <del> tag is used instead of this tag.

Image description

Horizontal Tag
Using <hr> tag we can separate content on a webpage.it draws a horizontal line between paragraphs. it is also called a horizontal.

Image description

Small Tag
The <small> tag is used to make the text one size smaller (ie: from x-large to large, large to medium, medium to small).

Image description

Mark Tag
The mark element defines the text that is marked or highlighted in an HTML document. We can use the mark element with the block quote element to highlight the quoted text.

Image description

Pre Tag
The <pre> tag defines performatted text. Text in a <pre> element is displayed in a fixed-width font, and the text preserves both spaces and line breaks. The Text will be displayed exactly as written in the HTML source code.

Comment Tag
An HTML comment begins with <!--and the comment closes with-->. HTML comments are visible to anyone that views the page source code, but are not rendered when the HTML document is rendered by a browser.

Image description

Top comments (0)