The aside tag in HTML5

Introduction: The <aside> tag is used to represent the block of text. The content of this block may be different from the main content or topic of the page. Like- tips, notes etc, which is given on page. This tag is new in HTML5. We write the text between <aside> and </aside> tag. Now we write the following code for understand how it works.

<!DOCTYPE HTML>
<html>
<h1>My Study</h1>
<p> I am studying C,C++, JAVA and .NET.</br>
I am also studying SQL.</p>
<aside>
<h2>C</h2>
<p>c is procedural language.</p>
</aside>
</html>

The page will look like as below
aside-tag-in-html5

Ebook Download
View all
Learn
View all