html article tag example
html article tag example
Example
<!DOCTYPE html>
<html>
<body>
<h1> Article element html</h1>
<article>
<h2> Web designing theory blogspost</h2>
<p> webdesigningtheory.blogspot.com this website education
platform
student learn to the webdesigning subject HTML easy learn
programming language </p>
</article>
<article>
<h2> Web designing theory blogspost</h2>
<p> webdesigningtheory.blogspot.com this website education
platform
student learn to the webdesigning subject CSS easy learn
programming language </p>
</article>
<article>
<h2> Web designing theory blogspost</h2>
<p> webdesigningtheory.blogspot.com this website education
platform
student learn to the webdesigning subject PHP easy learn
programming language </p>
</article>
</body>
</html>
html article tag example
Explain Program
Step 1]
<!DOCTYPE html>
This declare the document type.
browser that the document is written in html
Step 2 ]
<html>.... . </html>
html is the root element of the html page.
Every thing inside it is part of the webpage.
Step 3]
<head>.....</head>
head section contain metadata about the webpage information
for the browser not display on the webpage.
Step 4]
<h1> Article element html</h1>
main heading of the entire page.
Step 5]
<article> element
article element use content can stand on own blog post, news article, post
<article> new independent content block post
<h2> - sub-heading
<p> - paragraph
Step 5]
closing the Tag
</body>
</html>
html article tag example
Output
Related Post :-
how to set image height
html link tag explain
how to use pre tag
l
