Intro to HTML HTML Tags HTML file HTML heading HTML line breaks HTML Lists HTML Divs HTML images HTML Attributes HTML hyperlink HTML Comment HTML Embed

HTML Tags


An HTML element is defined by a start tag, some content, and an end tag:

The HTML element is everything from the start tag to the end tag:


Let's learn about some of the basic HTML tags...

The '!DOCTYPE html' declaration defines that this document is an HTML5 document

The '<head> </head>' element contains meta information about the HTML page

The '<title> </title>' element specifies a title for the HTML page (which is shown in the browser's title bar or in the page's tab)

The '<body> </body>' element defines the document's body, and is a container for all the visible contents.

The '<h1> </h1>' element defines a large heading

The '<p> </p>' element defines a paragraph

The '<b> </b>' element bolds the mentioned text.