HTML Other Lists

HTML Description Lists A description list is a list of terms, with a description of each term. The <dl> tag defines the description list, the <dt> tag defines the term (name), and the <dd> tag describes each term: Example Chapter Summary Use the HTML <dl> element to define a description list Use the HTML <dt> element to define the description term Use the HTML <dd> element to […]

HTML Ordered Lists

The HTML <ol> tag defines an ordered list. An ordered list can be numerical or alphabetical. Ordered HTML List An ordered list starts with the <ol> tag. Each list item starts with the <li> tag. The list items will be marked with numbers by default: Example Ordered HTML List – The Type Attribute The type attribute of the <ol> tag, defines the type of the […]

HTML Unordered Lists

The HTML <ul> tag defines an unordered (bulleted) list. Unordered HTML List An unordered list starts with the <ul> tag. Each list item starts with the <li> tag. The list items will be marked with bullets (small black circles) by default: Example Unordered HTML List – Choose List Item Marker The CSS list-style-type property is used to define the style of the list […]

HTML Lists

HTML lists allow web developers to group a set of related items in lists. Example An unordered HTML list: Item Item Item Item An ordered HTML list: First item Second item Third item Fourth item Unordered HTML List An unordered list starts with the <ul> tag. Each list item starts with the <li> tag. The list items will be […]

HTML Tables

HTML tables allow web developers to arrange data into rows and columns. Example Company Contact Country Alfreds Futterkiste Maria Anders Germany Centro comercial Moctezuma Francisco Chang Mexico Ernst Handel Roland Mendel Austria Island Trading Helen Bennett UK Laughing Bacchus Winecellars Yoshi Tannamuri Canada Magazzini Alimentari Riuniti Giovanni Rovelli Italy Define an HTML Table A table […]

HTML Images

Images can improve the design and the appearance of a web page. Example HTML Images Syntax The HTML <img> tag is used to embed an image in a web page. Images are not technically inserted into a web page; images are linked to web pages. The <img> tag creates a holding space for the referenced image. The <img> tag is empty, it […]

HTML Links – Create Bookmarks

HTML links can be used to create bookmarks, so that readers can jump to specific parts of a web page. Create a Bookmark in HTML Bookmarks can be useful if a web page is very long. To create a bookmark – first create the bookmark, then add a link to it. When the link is […]

HTML Links – Different Colors

An HTML link is displayed in a different color depending on whether it has been visited, is unvisited, or is active. HTML Link Colors By default, a link will appear like this (in all browsers): An unvisited link is underlined and blue A visited link is underlined and purple An active link is underlined and […]