Select Page

How To Make Lists Of Links


If you want to create a list of unordered links, you nest the <a> tag in <ul>. Similarly, to create a list of ordered links, you nest the <a> tag in <ol> tag.


nanadwumor

May 23, 2023

HTML - how to make ordered or unordered list of links


  • <a> nested in <ul> tag creates list of unordered links
  • <a> nested in <ol> tag creates list of ordered links

RECOMMENDED ARTICLES


Difference Between Absolute and Relative References in HTML
Difference Between Absolute and Relative References in HTML

A relative reference does not specify the complete path to a web page. It specifies only the name of the web page. An absolute reference or url contains all the information necessary to locate a resource or target A relative reference does not...

Block And Inline Level Tags in HTML
Block And Inline Level Tags in HTML

Block elements start on a new line and end with a carriage return. That's, immediately after ending on a horizontal space, next block element goes to nest line. A block level element is like a container. It can contain other elements. Examples of...

Selecting a browser for HTML5 development
Selecting a browser for HTML5 development

Google's Chrome browser is simple to use and has the most up-to-date HTML5 features making it easier for developers. It also has pretty good developer tools. We recommend you use this browser to learn HTML5 Chrome Firefox Opera Apple Safari...


Links can be listed. To create a link, you use the <a> tag. To create an unordered link, you use the <ul> tag.

Thus, if you want to create a list of unordered links, you nest the <a> tag in <ul>. Similarly, to create a list of ordered links, you nest the <a> tag in <ol> tag.

Syntax of Unordered List of Links

Output

list of links syntax - unordered list, <ul>

Syntax of Ordered List of Links

Output

list of links syntax - ordered list <ol> tag

Join Other Subscribers on Our YouTube Channel and Don’t Miss a thing!


Program demonstrates Unordered list of hypertext links

Output

list of lins - ordered and unordered links-some famous websites

Program demonstrates Ordered list of hypertext links

Output

some famous websites list of ordered links

You May Also Like…


Block And Inline Level Tags in HTML
Block And Inline Level Tags in HTML

Block elements start on a new line and end with a carriage return. That's, immediately after...



0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *