Monday, January 22, 2018

Lesson 13 (lists)

Html makes provisions for the possibility of showing
lists of individual items; these can be ul unordered (and
each item will be preceded by a mark of some kind) or ol
ordered (according to a choice of numbers or letters).
With proper styling, one can make a list that appears sideways
and - in a pinch - serve to make headings (with the float left
property on the li line tags) and it is possible with the dl tag
to design definitions, dt being the term, and dd the data... Below:




Once the list elements have become anchors, one just puts a onhover functionality on them.
In the example, this makes the background darken on the item the mouse is hovering
over.

source: W3 Schools

No comments: