-
Notifications
You must be signed in to change notification settings - Fork 4
Html
Matt Enlow edited this page Mar 14, 2014
·
1 revision
- tag / element
- attribute
- Doctype
- Page Template
- html
- head
- body
- Build a basic site
- Heading
- Paragraph
- Line Break
- Horizontal Rule
- Blockquote
- Phrase Elements
- Ordered Lists
- Unordered Lists
- Description Lists
- Special Characters
- Structural Elements (Div & Friends)
- Anchor
Line breaks aren't for general purpose formatting. Instead, they are for text that belongs together in a single paragraph tag, but that thematically needs to be on separate lines. Examples are:
- Poetry
- Addresses
<p class="address">
Mozilla Foundation<br>
1981 Landings Drive<br>
Building K<br>
Mountain View, CA 94043-0801<br>
USA
</p>In HTML5, the horizontal rule element represents a thematic break between paragraph-level elements (for example, a change of scene in a story, or a shift of topic with a section)