In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what are the knowledge points of CSS tags". The explanation in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian and go deep into it slowly to study and learn "what are the knowledge points of CSS tags" together!
1
If you want to display an article on a web page, you need to
Tag, put the paragraph of the article in
In the label.
Grammar:
paragraph text
2
Tags to create the title of the article.
There are 6 title tags in total, h2, h3, h4, h5, h6 and h7 are level 1 title, level 2 title, level 3 title, level 4 title, level 5 title and level 6 title respectively. and decreases in importance. It's the highest grade.
Grammar:
Title text (x is 1-6)
As mentioned above, title tags can be used, and they can also be used for the titles of various columns on the page.
3
Now that you have paragraphs and titles, you can use or tags if you want to emphasize certain words in a paragraph.
But there is a difference in emphasis between the two: emphasis and stronger emphasis. And in the browser by default italics, indicated in bold. Compared with the two tags, domestic front-end programmers prefer to use the expression emphasis.
4
Difference between:
1. And tags are used to emphasize keywords in a paragraph, and their semantics are emphasized.
2. Tags are non-semantic, and their role is to set the individual style used, a paragraph circled, and then set the style with css.
5
q tags, short text references
For example, if you want to quote a poem from a writer in your article, which will make your article more brilliant, then the tag is what you need.
Grammar:
reference text
1. Note that the text to be quoted does not need double quotes. The browser will automatically add double quotes to the q tag.
2. Note that the real key point of using the label here is not its default style double quotation marks (if so, we might as well type double quotation marks on the keyboard), but its semantics: quoting others.
blockquote tag, long text quote
It also refers to other people's texts. But it's a reference to a long text.
A tag is a reference to a short text, such as a quote that uses a tag.
Syntax:
reference text
Browser parsing of tags is indented style
6
newline label
Tags act like carriage returns in word documents.
Divide Line Label
The label is an empty label just like the label, so there is only one start label and no end label.
The default style line of the label in the browser is thicker and the color is gray. Some people may think that this style is not beautiful. It doesn't matter. These external styles can be modified after we learn the CSS style sheet later.
7
html special characters
Space: (; semicolon is essential)
8
address tag, adding address information to a web page
Grammar:
address information
For example:
No. 10 Dewai Street, Xicheng District, Beijing City
The style displayed on the browser is italic, but if you don't like italics, you can, of course, use css styles later in the lesson to modify the default style of its labels.
9
In the introduction of language technology website, it is inevitable to display some computer professional programming code in the web page, when the code is a line of code, you can use the tag, such as the following example:
var i=i+300;
Grammar:
code language
Note: In general, if you want to insert multiple lines of code, you cannot use tags. If it is multiple lines of code, you can use tags.
The main purpose of tags: preformatted text. Text enclosed in pre elements usually retains spaces and newlines. If you use the previous method, enter needs to be entered
Sign, blank space needs to be entered.
Note: Tags are not just for displaying computer source code, they can be used whenever you need to pre-display formatting in web pages. A common use of tags is to display computer source code.
Thank you for reading, the above is "CSS tag knowledge points what" content, after the study of this article, I believe that we have a deeper understanding of CSS tag knowledge points, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.