The ul element, the name for which is an abbreviation of unordered list, is used to group a collection of items together in a list, but in a way that doesn’t suggest an order of precedence or importance .
Each list item in the unordered list is in turn defined by its own li element, all contained by the surrounding <ul> and </ul> tags.
EXAMPLE: The shopping list below utilizes ul element (unordered list) with each item living in its own li element.
The use of link is based around a tag: the anchor tag.
The basic syntax of the anchor tag is as follows:
<a href=”URL”>text link</a>
You use the anchor element to mark any markup that causes the user’s browser to navigate to a different location when interacted with. The text between <a></a> is presented to the user. When the user clicks on the link, the browser is directed to the document that is specified by the href attribute.
This sample uses the <a> tag along the href attribute to provide users the ability to do a search using Google. The href provides the location – in this case, http://www.google.com – where the browser should navigate to.
When you want to link to other documents that are part of your Web site:
In this case, the browser looks for the document named news.html in the same location of the original document.