html q tag and html sup tag
HTML Tag
HTML - Drawing Line
The HTML. <hr> tag is use for creating a horizontal line. This is also called Horizontal Rule in the HTML <hr> tag also supports following additional attributes use horizontal line.
Attribute
1) Align :- left, right, centre
2) No shade
No shade It Removes the usual shading effect most browsers display
3) Size
size attribute It Specifies the height the horizontal line.
4) Width
width Attribute It Specifies the width of the horizontal.
Example
<!DOCTYPE html>
<html>
<body>
<p>Horizontal Ruler <hr></p>
<p>Horizontal Ruler <hr></p>
<p>Horizontal Ruler chr></p>
</body>
</html>
Drawing Line output
Horizontal Ruler
___________________________________
Horizontal Ruler
___________________________________
Horizontal Ruler
___________________________________
2) Quote Element
Quote Element is the <q> tag defines a short quotation. Browsers normally insert quotation marks around the quotations.
Attribute
1) Cite :- URL
Specifies the source URL of the quote
Example
Quote Element output
3)Subscript Element
Subscript Element is the <sub> tag defines subscript text. Subscript text appears half character below tnormal line, and sometimes rendered in a smaller font. Subscript text it can be use for chemical formulas, H2O.The <sub> tag is used to add a subscript text is the HTML document. The <sub> tag defines the subscript text. Subscript text is the appears half of character below the normal line and is sometimes rendered to a smaller font.
Example
<!DOCTYPE htal>
<html>
<body>
<Sub>subscript</sub>text.</p>
<p>This text contains<sup>superscript</sub>text.</p></Body>
</html>
Subscript Element output
This text contains subscribe text.
This text contains subscribe text
4)Big Element
HTML Big Element (<big>) makes to the test font size one size bigger for example, from small to medium, from large to x- large up to the browser maximum font size.
Example
<! Doctype html>
<html>
<body>
<p>This text is normal.</p>
<P><big>This text is bigger. </Big></p>
<P><strong>Note: </strong> big element not supported to HTML5. </P>
</Body>
</html>
Big Element output
This text is normal.
This text is bigger.
5) Small Element
The HTML Small Element <small> makes the text font size on size smaller example from large to medium from small to x-small down the browser minimum font size. In HTML5, in this element is repurposed to represent side-comments and small print, including copyright and legal text.
Example
<!DOCTYPE html>
<html>
<body>
<P>pssmovement - the world's largest free Meditation training movement.</p>
<P><small>No Copyright . . . Please spread the message . . . visit: www.google.com </small></p>
</body>
</html>
Small Element
output
pssmovement - the world's largest free Meditation training movement
No Copyright . . . Please spread the message . . . visit: www.google.com
Post a Comment