Lesson 1.2 - HTML Elements,Structure and Web Browser Purpose
Lesson 1.2 - HTML Elements,Structure and Web Browser Purpose
ELEMENT?
HTML Element
An HTML element is a component of an HTML document that tells a web browser how to
structure and interpret a part of the HTML document. 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:
Note:
Some HTML elements have no content (like the <br> element). These elements are called empty
elements. Empty elements do not have an end tag!
WHAT IS THE PURPOSE
OF WEB BROWSERS IN
HTMLS?
W E B B ROW S E RS
• A web browser is a software program
that allows a user to locate, access, and
display web pages.
• A web browser is usually shortened to
"browser".
• Web browsers are used primarily for
displaying and accessing websites on
the internet, as well as other content
created using languages such as
Hypertext Markup Language (HTML).
Examples:
The purpose of a web browser (Chrome, Edge, Firefox, Safari) is to read HTML documents
and display them correctly. A browser does not display the HTML tags but uses them to
determine how to display the document:
HTML PAGE
STRUCTURE
Below is a visualization of an HTML page structure:
<html>
<head>
</body>
</html>