In this chapter, you learned the basics of HTML, the first of several languages we will use to do web development. HTML uses tags such as <div>
and tags can also have attributes, for example, <p class="blue">blue paragraph</p>
. All these tags combined on a page, an HTML page, form the building blocks of a website. Rather than giving an exhaustive list and description of all available HTML elements of tags, we walked you through the most common and useful ones.
HTML elements are used to add content to a website, not to give the site a certain look. Colors, the background and foreground, letter types, borders around images, and many more visible features of a site are handled through style sheets and another language. That language is CSS and that is the topic of our next chapter.