Post by account_disabled on Nov 29, 2023 4:52:40 GMT
What is a list on a web page and how to create it It's not enough to write a word or concept and then click the enter button to create a list. It is not enough to hand write “1” next to a word to have created the first element of that list or to use the hyphen “-”. No, bulleted and numbered lists are created respecting semantics . What does it mean? That it is not only the reader who must understand that we have created a list, but the search engines must also understand it. And the engines don't read what we read, but they read the HTML code of the web page . Bulleted lists A bulleted, or unordered, list is written like this: <ul> <li>First element of the list</li> <li>Second element of the list</li> <li>Third element of the list</li> </ ul> There is an opening tag which means unordered list (hence the name "ul"), i.e.
An unordered list, without numbers, and a closing one with Phone Number Data the various elements of our list in the middle (li= list item ). We can customize our list in various ways using the type attribute (disc, square and circle), having a filled dot, an empty square and an empty circle respectively. In many responsive themes we can also find lists with images instead of these symbols. Numbered lists A numbered list is written like this: <ol> <li>First element of the list</li> <li>Second element of the list</li> <li>Third element of the list</li> </ol> The opening tag means ordered list , that is, it has numbers. But it can be customized with the type attributes (arabic numbers, lower alpha, upper alpha, lower roman, upper roman) and have Arabic numerals, lowercase letters, uppercase letters, lowercase Roman numerals and uppercase Roman numerals respectively.
What if I can't read code? Ok, this is the technical explanation - even if it is simple - but if the code of the page is particularly difficult for you, WordPress makes things easier for you: just write the elements of the list one under the other, clicking Enter after each one, and then click on one of the two icons of the text editor (Bulleted list, Numbered list) and you will have your semantic list. Punctuation in lists List I recently read about a discussion on whether or not to use a period at the end of each item in bulleted or numbered lists. My opinion? It depends on the nature of the list. I don't use to put a period if it's a mere list of words or very short sentences. Look at the first list of this post: there is no period at the end of the various elements.
An unordered list, without numbers, and a closing one with Phone Number Data the various elements of our list in the middle (li= list item ). We can customize our list in various ways using the type attribute (disc, square and circle), having a filled dot, an empty square and an empty circle respectively. In many responsive themes we can also find lists with images instead of these symbols. Numbered lists A numbered list is written like this: <ol> <li>First element of the list</li> <li>Second element of the list</li> <li>Third element of the list</li> </ol> The opening tag means ordered list , that is, it has numbers. But it can be customized with the type attributes (arabic numbers, lower alpha, upper alpha, lower roman, upper roman) and have Arabic numerals, lowercase letters, uppercase letters, lowercase Roman numerals and uppercase Roman numerals respectively.
What if I can't read code? Ok, this is the technical explanation - even if it is simple - but if the code of the page is particularly difficult for you, WordPress makes things easier for you: just write the elements of the list one under the other, clicking Enter after each one, and then click on one of the two icons of the text editor (Bulleted list, Numbered list) and you will have your semantic list. Punctuation in lists List I recently read about a discussion on whether or not to use a period at the end of each item in bulleted or numbered lists. My opinion? It depends on the nature of the list. I don't use to put a period if it's a mere list of words or very short sentences. Look at the first list of this post: there is no period at the end of the various elements.