Art 354 Summary 1

HTML Basics

HTML, which stands for Hyper Text Markup Language, is the standard markup language for creating web pages. It describes the structure of a web page using a series of elements that tell the browser how to display the content. HTML elements label pieces of content such as "this is a heading", "this is a paragraph", or "this is a link".

HTML Document Structure

An HTML document begins with a document type declaration and is enclosed within tags. The element contains meta information about the HTML page, while the element defines the document's body and contains all the visible contents. Elements can be nested within each other, creating a hierarchical structure that forms the backbone of every web page.

HTML Elements and Attributes

HTML elements are the building blocks of web pages, typically consisting of a start tag, content, and an end tag. Attributes provide additional information about elements and are specified in the start tag, enhancing their functionality or appearance. While most elements have opening and closing tags, some, like or
, are self-closing and don't require a separate closing tag.