html aside tag with example
The <aside> tag has added to html 5 the define a section with additional information related to the content around the aside element. It is the generally use to enhance an article with additional information, or highlighting parts that can be interesting to the user. Content is an aside the stand-alone non-essential part of the web page and if you delete, the main content will not be affected.
Syntax
The <aside> tag comes in pairs, which means that the content is written between the opening (<aside>) and the closing (</aside>) tags.
html aside tag with example
Example
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<P>Google Chrome web browser to the developer by Google, released.
</body>
</html>
html aside tag with example
Explain program
Step 1 ]
<!Doctype html>
- <!doctype html> always be the first line of any HTML document.
<!Doctype html>
- <!doctype html> always be the first line of any HTML document.
Step 2 ]
<html> and </html>
html is the root element.
<html> and </html>
html is the root element.
Step 3 ]
<body> and </body>
body is main content area.
All visible content inside to the <body> tag
<body> and </body>
body is main content area.
All visible content inside to the <body> tagStep 4]
<aside> :- content that related to main content
HTML 5 semantic element
context of the webpage structure
No comments:
Post a Comment