show-notice
hide-notice

Friday 9 August 2013

HTML 5 aside Tag


Introduction:

The HTML <aside> tag is used to represent content that is related to the surrounding content within an article or web page, but could still stand alone in its own right. This type of content is often represented in sidebars.

Example:
<html>
<head>
<title>HTML 5 aside Tag</title>
</head>
<body>
<div style="font:0.8em/1.2em Arial, Helvetica, Sans-Serif;">
<aside 

style="font-size:larger;font-style:italic;color:green;float:right;width:35%;padding-left:5

px;">
70% of the world's reefs will be destroyed over the next 40 years.
</aside>
<p>Global warming is affecting coral reefs all over the world. At the current rate, 70% of 

the world's reefs will be destroyed over the next 40 years.</p>
<p>As hopeless as this may sound, there are things we can do to help. By developing 

greener habits, we can all do our part in reducing global warming. For example, here are 

<a 

href="http://gohilinfotech.blogspot.in/" target="_blank">5 ways to reduce greenhouse gases</a>.  And here are some simple 

steps you can take to <a 

href="http://gohilinfotech.blogspot.in/" 

target="_blank">live sustainably</a>.</p>
</div>
</body>
</html>

SHARE THIS POST   

0 comments :

Post a Comment

Design by Gohilinfotech | www.gohilinfotech.blogspot.com