What are the commonly used tags and attributes of html? What are the commonly used tags in html? I believe that for novices who have just started, the above are relatively unfamiliar, so let’s summarize what are the commonly used tags and attributes of html? How do newbies use HTML tags?
When we use div and css to layout the website, there will always be how to layout html in web design. This is a problem for novices who are just getting started. Problem, here is a brief introduction to common HTML tags and attributes.
1. Quick layout in list format
When we want to layout the website in list format, then we have to use ul and li tags, a list of some articles And the list of columns can be laid out using ul and li tags. Of course, we also need to cooperate with css to achieve the effect, and the loop effect can be achieved.
2. Title type
When we are building a website, we will always encounter the title of the article. Different programmers will use different tags to implement it. Some people Some people are used to using h1, and some people are used to using h2. The effects of h1 and h2 tags are also different.
3. Independent content
In the content, if we want to set the color of several texts separately, then we can need the span tag and set the font separately. style.
4. Paragraph tags
We can use the p tag for paragraph tags and add a
at the beginning of the paragraph to make the paragraph clear.
The above is what are the common tags and attributes of html? How do newbies use HTML tags? Which one has better effect is fully introduced. If you want to know more about html video tutorial, please pay attention to php Chinese website.
The above is the detailed content of What are the commonly used tags and attributes of html? How to use HTML tags for beginners. For more information, please follow other related articles on the PHP Chinese website!