![]() Using the tag, text can be instructed to display in any colour under the sun. And while current versions of HTML and newer browsers allow greater flexibility in specifying preferred fonts for an HTML document to be displayed in, ultimately the choice is limited by which fonts end-users have installed on their systems (even then users may decide to set their browsers to override preferred font settings). When HTML was first introduced there was only one font available. If a font size is not specified the default setting is 3. Font sizes 2 and 3 are the most commonly used. In HTML, font sizes range from 1-7, with 1 being the smallest. The tag sets a font's size, typeface and color. ![]() Note: You can "nest" lists too (ie., subdivide lists), but use this feature sparingly as too many nested items can get difficult to follow. In an ordered list, sequential numbers are generated automatically, as shown below: Between these tags are placed list items with an tag as follows:Īn ordered list is formatted exactly the same as an unordered list, except that tags are used instead of. The tag opens an unordered list while closes it. This is probably the most common type of list on the Web. ![]() HTML provides the means for producing two types of lists: unordered (ie., unnumbered) and ordered (ie., numbered) lists.Īn unordered list typically is a bulleted list of items. In this lesson we discuss two more attributes commonly used in the formatting of HTML documents: lists and fonts.
0 Comments
Leave a Reply. |