HTML and CSS Reference
In-Depth Information
To Open the File
For this project, you will add keywords and a description to the oceanside.html Web page already created.
The following steps show you how to add keywords.
Start Notepad++.
Open the oceanside.html file in the Chapter04\ChapterFiles folder that you stored on the G:\ drive (Figure 2).
If necessary, enable Word wrap in Notepad++.
What if I did not create the oceanside.html file from Chapter 4?
Your instructor should have a copy of the oceanside.html file.
Other Ways
1. Right-click the filename
oceanside.html in
Windows Explorer, click
Edit with Notepad++
HTML code for
Web page
Figure 2
Meta Names
The meta tag derives from the word, metadata, which is data (or information) about
data. You already included one meta tag in the initial HTML code that you inserted into
every Web page created thus far. The
<meta charset="utf-8” />
line has been included in all Web pages throughout the topic. As mentioned earlier, this
statement declares the character-encoding as UTF-8. The Unicode Transformation
Format (UTF) is a compressed format that allows computers to display and manipulate
text. When the browser encounters this meta tag, it will display the Web page properly,
based on the particular UTF-8 encoding embedded in the tag. UTF-8 is the preferred
encoding standard for Web pages, e-mail, and other applications.
The meta tag also allows you to specify the keywords, description, and author for the
Web page through the use of the name and content attributes. Some of the more frequently
Search WWH ::

Custom Search