HTML and CSS Reference
In-Depth Information
Lesson requirements
You will need the file new.html from the Lesson_06 folder, a text editor and a web browser.
You can download the code and resources for this exercise from the topic's web
page at .
Open your text editor.
From the Lesson_06 folder, open new.html .
Place your cursor after <body> and press Enter (Return) to make a new line.
On the new line, enter the following code:
<p>Henry David Thoreau is best known for his topics and essays.</p> .
Press Enter (Return) and enter the following code:
<p>However, many of his quotations resonate with us today.</p> .
Save your text editor document as thoreau.html .
77 7
In your browser, open thoreau.html to review the rendered page, as shown in Figure 6-2.
FiGure 6-2
addinG HeadinGs
Headings serve to separate and introduce major divisions to a web page. Search engines pay close
attention to headings when available, especially at the top levels. A tight correlation between the
window title, the de facto page title (the first heading), and the content can really boost a page's
rankings in a search engine index.
Search WWH ::

Custom Search