Original article: andymao.comandypost104.html previous section: finishing the ordered list & ldquo; unordered list & rdquo; and & ldquo; ordered list & rdquo; someone told me that these two articles are meaningless. The two articles, if read only in the form of one-way reading, are really meaningless, but the two important part is that the reader to join the original: http://andymao.com/andy/post/104.html
Previous section: Ordered list
After finishing the "unordered list" and "ordered list", someone told me that these two articles are meaningless. These two articles are meaningless if they are read only in the form of one-way reading. However, the important part of these two articles is that readers should join their own ideas. The ordered and unordered single tag is simple. You only need to know its usage, but the key point is that you do not know what the label looks like, and the key point is what data is suitable for the list. What kind of data is ordered and what kind of data is disordered? After reading the course, you must think about it so that you can learn something and your own knowledge.
The definition list has a special form and usage. Compared with the unordered list, the definition list is much less used. Some friends haven't started to use this list. The code for this list is as follows:
Looking at the above Code, we found that it does not appear here.
Tags are composed of three tags: DL, DT, and DD. Based on the appearance and the previous list, we can know that DL is a container in this list, just like a box, the difference is that this box is not only a single small box with unified standards. But there are two different contents. How do we understand this DT and DD? In terms of semantics, DT is the name, the title, and DD is the explanation and the content. DT and DD are both boxes. DD only corresponds to the one above DT and cannot be explained in a lower or lower level. If DT does not exist, then DD does not exist, and DT must follow it, I have not found a specific document to illustrate this point, however, in my understanding of the definition list, I think that if only DT and DD are in the data, this cannot be a definition list, and you can simply use the UL unordered list. However, when only one or a few data items have no DD, and most of them have DD, I think this form can exist.
-
Ordered list
-
Ordered list
-
Ordered list
-
Ordered list
The above is obviously not suitable. This form is unordered list. Why should we define the list? It cannot be understood in terms of semantics.
-
Ordered list
-
An ordered list is a list of ordered data.
-
Ordered list
-
An ordered list is a list of ordered data.
-
This sentence is not explained.
-
Ordered list
-
An ordered list is a list of ordered data.
I personally think this form is feasible. Can a single DT contain multiple DDDs? At this point, I have not found any document to explain the problem. In some well-known websites, such a DT still has many DD. My opinion on this is that it is possible for DT to bring multiple DDDs, but in general I think this practice is still lacking. From the perspective of interpretation, does multiple DD indicate multiple interpretations? Or the explanation should be segmented and DD should not be used as the mouse dog. Multiple section labels can be embedded in a DD. In terms of style applications, the overall loose structure of multiple DDDs is insufficient in design scalability. For example, when we want to click DT to hide the corresponding DD effect, this multi-DD approach is not so good. Therefore, if it is not a special purpose, try not to use a single DT with multiple DDDs, or put the content in the DD, and let the section label do the segmentation, the list can be displayed in an ordered or unordered list.
Let's start with it. There is nothing about the tag itself. We should focus on how to apply it. The following figure shows whether the custom list should be used. Let's discuss it together.