Friday, 26 April 2019

Formatting Tags in HTML




Formatting Tags in HTML:
= = = = = = = = = = = = = =
-> formatting tags are used formatting text that we prepared in html in html document.
-> these tags helps us to present the text with different formats like bold ,italic ,highlighing etc...
   
    1) bold---<strong>
    2) italic-----<em>
    3) underline----<u>
    4) delect text------<del>
    5) text marking----<mark>

<!---example for formatting tags-->
<html>
<head> </head>
<body bgcolor="lightyellow">
<h1 align="center">
        <u>Formatting Tags in HTML</u>
</h1>
<hr/>
<div style="text-align:center;">
<img src="dell.jpg" border="2" width="300" />
<br/>

<span style="color:blue;">
<strong>Dell Laptop_D5600</strong>
</span>
<br/>

<span style="color:red;">
actual price:INR <del>35500.00</del>
</span>
<br>

<span style="color:green;"
<em>Discount price:INR 30000.00</em>
</span>
<br/>

<mark style="background-color:aqua;">
note:this account price is available only today </mark>
<br/><br/><br/>


</div>
<br/>
<div style="text-align:center;">
<img src="iphone.jpg" border="2" width="250" />
<br/>

<span style="color:blue;">
<strong>IPhone_6</strong>
</span>
<br/>

<span style="color:red;">
actual price:INR <del>45500.00</del>
</span>
<br>

<span style="color:green;"
<em>Discount price:INR 40000.00</em>
</span>
<br/>

<mark style="background-color:yellow;">
note:this account price is available only today </mark>
<br/>

</div>

</body>
</html>
   

1 comment: