The basics of HTML and some key best practices provide the foundation for building effective Web sites. Let’s revisit the key takeaways:
• A Web page is primarily made up of three components: text content, references to other files, and markup.
• HTML markup is composed of elements, attributes, and values.
• It’s customary to write your HTML in all lowercase (DOCTYPE is an exception), surround your attribute values with quotes, and close empty elements with a space and a forward slash ( /).
• Always begin your HTML documents with the DOCTYPE declaration:
• A page’s content goes in the body element. Instructions primarily intended for the browser and search engines are before that, mostly in the head.
• Mark up your ...