OTHER ATTRIBUTES FOR FORMATING:
1) HR (HORIZONTAL LINE)
2) MARQUEE
1) <HR> = This attribute is used to start horizontal line in the page.
*we can open/ start horizontal line as default by just typing <HR> other options for HR:
i) Size
<HR size = 5> = This tag is used to start line with size 5.
ii) width
<HR width = 50% >this tag is used to start line with width 50%
iii) Align
<HR align = left> = This tag is used to align the line to left side.
Other alignment
i) <HR align = right>
ii) <HR align = center>
2) <Marquee> = This tag is used to create scrolling text in the document.
</marquee> = This tag is used to end the marquee.
Others option for Marquee.
i) <Marquee align = right> = This tag is used to scroll the text from left to right
ii) <Marquee align = top> = This tag is used to scroll the text from buttom to top.
Note: We can use the default marquee by just typing <marquee> which scroll the text from right to
left.
Width:
i) <Marquee width = 50%> = This tag is used to give the width of the marquee
*The width can be specified in the means of pixels and percentage.
Height:
i) <Marquee height = 50%> = This tag can be used to define the height of the marquee.
USE OF HR
<HTML>
<Head>
<Title> working with HR </Title>
</Head>
<Body>
<P> I am enjoying working in HTML </p>
<P>Hi ! ! ! How are you </P>
<hr size = 50 align = right width = 100>
</body>
</HTML>
USE OF MARQUEE
<HTML>
<Head>
<Title> working with marquee </Title>
</Head>
<Body>
<Marquee>This is basic example of marquee
</marquee>
<br><br><br>
<Marquee width = “50%”> This is an example displaying only 50% width </Marquee>
<br><br><br>
<Marquee direction= “right”>This example displays the text scroll from left to right </Marquee>
<br><br><br>
<Marquee direction = “up”>This example displays the text scroll from buttom top </Marquee>
</Body>
</HTML>
HYPERLINK
Hyperlink means to create a link between one more files. It help us by
1) Jump from on section to another within the same web pafe.
2) Link to a different page within your own website.