w3resource

HTML5: Create an HTML document which uses article element?

Go To Exercise page

Solution:

HTML Code :

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>Create an HTML document which uses article element</title>
</head>
<body>
<article>  
<h1>Tutorial of HTML5 article element</h1>  
<p>HTML5 article element represents independent item like a blog entry in an web document.</p>  
</article>  
</body>
</html>

Live Demo:

See the Pen article-answer by w3resource (@w3resource) on CodePen.


See the solution in the browser

Supported browser

Firefox logo Chrome logo Opera logo Safari logo Internet Explorer logo
YesYesYesYesYes

Go To Home page

What is the difficulty level of this exercise?

Test your Programming skills with w3resource's quiz.



Follow us on Facebook and Twitter for latest update.