Chapter 2 HTML Basics
This chapter gets you started on your very first web page. You'll be introduced to Hypertext Markup Language (HTML), the language used to create web pages; eXtensible Hypertext Markup Language (XHTML), the most recent standardized version of HTML; and HTML5, the newest draft version of HTML. The chapter begins with an introduction to the syntax of XHTML and HTML5; continues with sample web pages; and introduces HTML structural, phrase, and hyperlink elements as more example web pages are created. You will learn more if you work along with the sample pages in the text. Coding HTML is a skill, and every skill improves with practice.
Web Page Structure Practice Activity
Each web page has a basic structure with a DOCTYPE statement and html, head, title, meta, and body tags. Check your understanding of this structure with the Web Page Structure Practice Activity.
Which browser is currently most popular? Recent stats are shown in the chart below from StatCounter.
Resources & Chapter Links
W3C & HTML5 Resources
The Web Development Profession
Web development is a field that is ever-changing.
What’s a web developer to do?
Consider joining one or more professional organizations.
The World Organization of Webmasters (WOW) is a leading organization in providing certification and educational resources to web professionals in all phases of their career. WOW offers a variety of resources for web developers including workshops, webinars, courses, and the Web Professonal Minute. Visit the web sites of these organizations to find out if there is a local chapter near you. If there are no local chapters, perhaps you can join the national organization and be a founder of a new local chapter right in your area.
Some web developers also consider joining an organization such as the HTML Writer's Guild which recently merged with the International Association of Webmasters. This organization offers online classes in technologies related to web development. It also provides listservs for members to discuss issues related to the web world including HTML, XML, CSS, and the business of web development.
Meeting (virtually or in-person) with other information technology students and professionals can help you develop skills and may even open some doors for you when you are ready for your first (or next) job.
Review flash card activities are available for this chapter.
Check your knowledge of chapter terms and concepts.
- Page 27, As of September 2014, HTML5 has been moved from Candidate Recommendation status to Proposed Recommendation status.
- Page 59, As of September 2015, the W3C changed the W3C HTML5 Validation processing. The results of the validation process are now different.
View the new version of Figure 2.26.
The error message now indicates "End tag li seen, but there were open elements".
View the new version of Figure 2.27.
The success message now indicates "Document checking completed. No errors or warnings to show".
- Page 63, #1
Replace the second opening <ol> tag with a closing </ol> tag.
- Prime Properties Case Study
Page 78, #5 Configure the copyright and e-mail link information within a footer element.
Questions or Comments?
The author would like to hear from you! Send an e-mail to firstname.lastname@example.org