Lesson 2: Formatting with HTML
In the previous lesson, you wrote a very basic web page using simple tags. Now let's format the elements to make the page more appealing. You'll use formatting tags to display some special types of text and add the style attribute to format other elements. The structure or syntax of these tags and attributes is very specific. You'll also learn a bit about how computers create colors and how to name those colors using hexadecimal code.
Essential Questions
- How can I make the content of an html page more attractive when displayed in a web browser?
Key Terms
- Attribute - a characteristic or property of an element; added to the opening tag, attributes provide additional information about an element; attributes are entered as a name/value pair like name="value"
- Element - a component or part of a whole
- Format - to change the style or appearance of text and other elements on the web page
- Format Tags - some special elements (or tags) are used for formatting output and were designed to display special types of text; for example, <strong>text</strong> displays as text
- Hexadecimal - a numbering system based on 16; (our decimal system is based on 10)
- Syntax - the structure of a language