From the course: HTML Essential Training
Unlock this course with a free trial
Join today to access over 24,800 courses taught by industry experts.
HTML and typography
From the course: HTML Essential Training
HTML and typography
- When writing HTML, the main rule is to use tags that describe what the content means, not how it looks, but there are a few HTML tags that are used for specific typographical styles, like superscript or subscript. This may seem to contradict the semantics over presentation rule, but these tags are okay to use as long as you use them to follow standard writing practices. For example, footnotes are notations marked with symbols or numbers, which correspond to additional information added to the bottom of the page. On the web, they're commonly used on sites requiring citations or providing supplementary details. These notations are usually formatted as superscript, using the SUP tag. The text will be displayed with a smaller size and a raised baseline. There are also sub elements to display text as subscript, which will also display as smaller text, but with a lowered baseline. Let's talk about one more element that can be used to further define your text content, the small element…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
(Locked)
Paragraphs and headings5m 41s
-
(Locked)
Ordered, unordered, and description lists5m 50s
-
(Locked)
Quotations3m 59s
-
(Locked)
Exercise: Formatting text, part 13m 4s
-
(Locked)
Date and time1m 48s
-
(Locked)
Bold and italics2m 25s
-
(Locked)
Character entity reference4m 39s
-
(Locked)
Exercise: Formatting text, part 21m 43s
-
(Locked)
Code and line breaks1m 21s
-
(Locked)
HTML and typography1m 29s
-
(Locked)
Challenge: Write text-based HTML markup for course project2m 52s
-
(Locked)
Solution: Demo3m 46s
-
(Locked)
-
-
-
-
-
-
-