Original text: http://andymao.com/andy/post/102.html
The paragraph has been finished, and some basic application methods have been discussed. So have they been applied? Of course, applications can be more abundant, so these require you to constantly explore and think about them in your actual work, and then innovate and summarize new application forms. Of course, paragraphs cannot be used like universal plasters, but I believe everyone knows that the role of the label DIV has been expanded (POPO once had an article "<DIV> is not a universal plaster"), and some people have also used it to talk about it with CSS. Here we should re-emphasize: DIV is just a speechless tag in HTML, which can be used for layout or as a speechless part, while CSS is a style language. If the name is not upright, the words will not be smooth. I am not old-fashioned here, but this statement will make everyone biased in their understanding of standards. The basic level is not clear, and the label function is infinitely enlarged, these are not a correct learning attitude. I will explain the various labels and uses in detail here. I hope everyone can correctly understand the significance of WEB standards. The correct statement should be that xHTML CSS or WEB standard is simply called standard. Today is not for complaining, but to talk about today's theme "Disorder List"
I believe everyone has used the list, it is also available in Word, and it is also available in many document editors. There are three types of lists in HTML: unordered lists, ordered lists, and defined lists. The meals should be eaten at a glance, and the things should be done one by one. Today, we only talk about disordered lists, and the lists we talk about today will not involve the beautification of CSS. Speaking of this, everyone should understand that my explanations are all separated and do not focus on style beautification. This is also to tell everyone that the tag code is very important. Then we need to understand the list first. Our daily life and work are trivial and unorganized. If we want to obtain efficient and friendly information exchange, we must sort out the information and classify it well. This will effectively convey information. I think this is a basic function of the list. Common uses include: book catalog, hotel menu, staff list, to-do matters, etc. Most of this information is not a large piece of information, but a brief title. Of course, the purpose of the list is not to only summarize the title information, and the list does not limit the amount of content. But we often use lists to summarize title information.
So how do we understand disordered lists? The correspondence of disorder is order, and it is easy to understand literally. Order means that it itself indicates the order before and after, which is strict, and these information itself has the characteristics of order. For example, when we write the operation steps, we need to clarify the first and second steps. Such information must be orderly, but disorderly? In other words, it is disordered and has no order at all. Here I would like to give you an example to think about it: the order of the leadership list of government departments is their most troublesome thing. Although they sometimes write that the rankings are indefinitely ordered, they are still ranked. So here I want to ask a question: Should such a list be applied with an ordered list or an unordered list? Of course, there is no standard answer to this, everyone has their own way of thinking, so what do you think? You might as well leave your thoughts in the comments. I won’t talk about what I think here. I hope everyone can think more and think more.
The label form of the list is:
<ul>
<li>This is what the list is about</li>
<li>This is what the list is about</li>
<li>This is what the list is about</li>
<li>This is what the list is about</li>
</ul>
Here we need to note that there are two parts of the list, one is the outermost tag <ul></ul> and the other is the content inside. We can understand this way, <li></li> are standardized small boxes, which mainly store list information, while <ul></ul> is a large box, and its function is to store small boxes. These small boxes will not be lost only if they are placed in large boxes. Neat and conducive to transportation (transplantation) and storage (positioning). Then a list can have many attributes in it, just like a paragraph. For example, we can set an id, class or title for <ul></ul>, and its characteristics and functions are the same as those in the paragraph. <li></li> can also have these attributes, but in general, the list is of the same type and is not specially treated.
Then the disordered list is basically finished. In fact, the most important inner space in this article is what kind of information should be used as an disordered list, and these require more analysis and thinking during practical application. So for friends who have not used list tags, start using list tags and abandon the practice of using DIV instead of list tags. Or friends who use tables to express the list can also try to change it. Start using unordered list tags from now on. Of course, if you have used it and found that this does not satisfy you, then let’s explain how to use styles to develop the potential of lists. Although the content I talked about today is relatively simple, I still hope that friends who come to read this article can think about the questions I raised above.