Identify which of the following is a tag or an attribute:
1. HR
ii. align
iii.BR
iv. Text
V.
PO
vi. Noshade
Write an HTML code to create the following ordered list
Answers
HR- The <hr> tag defines a thematic break in an HTML page (e.g. a shift of topic). The <hr> element is most often displayed as a horizontal rule that is used to separate content (or define a change) in an HTML page.
Align- The HTML <hr> align Attribute is used to specify the alignment of the horizontal line. If the width attribute is not set to 100% then the align attribute will not create any effect. Attribute Values: left: It sets the left-align to horizontal line.
BR- The HTML <br> element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.
NOSHADE- The noshade attribute is a boolean attribute. When present, it specifies that a horizontal line should render in one solid color (noshaded), instead of a shaded color.
<ol>
<li>HR</li>
<li>ALIGN</li>
<li>BR</li>
<li>NOSHADE</li>
</ol>