This article mainly introduce to you about HTML5 article label usage and use example explanation, hope everybody can understand, next we look at this article about HTML5 article label.
First, let's briefly introduce the following article:
HTML5 <article> represents a piece of independent content in the page that is not relevant to the context, such as an article in a webpage or an article in a newspaper.
Article differs from other div CSS layout structures, article main layout article class content.
Article Syntax code:
<article> content </article>
Article is there to start with a closed pair of HTML tag elements.
Start with <article> to end the closure with </article>.
Now, let's talk about the instructions for using the article tag:
Article is a new tag for HTML5, and its basic syntax functions like previous Div, p, span tags, you can set CSS directly using the Style property tag, or use class or ID to bring in external CSS styles.
<article class= "AAA" > Content </article>
<article id= "BBB" > Content </article>
Article mainly is the layout article, content aspect content.
Take a look at the use examples of HTML5 article tags:
Here is an example of using the article label layout to learn about article element tags. The following is the full HTML5 instance code: <! DOCTYPE html>
Code effects for article tags:
Is the code, basically can see understand, what do not understand can leave a message below