The aside tag in HTML5
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 understanding 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>undefined</html>
The page will look like as below: