LESSON 2 Flashcards
(36 cards)
is structured using a set of nested tags
HTML document
declaration informs the web browser about the HTML version being used.
<!DOCTYPE html>
The <html>….</html> The <html> tag is the root element that encapsulates all the content on the page.
HTML-Root-Element
tag contains metadata and links to external resources like CSS and JavaScript files.
Head Section
tag sets the title of the web page, which is displayed in the browser’s title bar or tab.
Title Tag
tag contains the visible content of the web page. This is where text, images, and other elements go.
Body Tag
is used to define the structure and layout of a web page.
Structural markup
uses HTML elements that convey meaning about the content.
Semantic markup
acts as a container for content or other HTML tags.
HTML tag
are used to define the structure and layout of text on a web page.
Heading Tags
used to format text into distinct paragraphs.
Paragraph Tag/<p>
This tag is responsible for breaking text lines or separating paragraphs.
Line Break Tag/<br></br>
aligns text, images, or other HTML elements in the middle of a web page.
Center Tag/<center></center>
It serves as a visual separator, dividing different sections of your document with a horizontal line.
Horizontal Line Tag/<hr/>
serves as an indispensable tool in HTML for displaying preformatted text, such as code snippets in various programming languages.
Preserve Formatting Tag/<pre>
an automatic line break and are displayed using the entity.
Non-breaking Spaces
a fundamental component of an HTML document that can contain data to display on the webpage, such as text, image, link, or sometimes nothing.
HTML Element
specifies the beginning of the element and may include multiple attributes.
Opening Tag
includes the information to be displayed or processed within an element.
Content
marks the end of the element
Closing Tag
a keyword enclosed in angle brackets (<>) that defines the start and end of an HTML element.
HTML Tag
consists of an opening tag, content (if applicable), and a closing tag (if required).
HTML Elements
are elements that do not have closing tags and cannot contain any content.
HTML Void Elements (Empty Tag)
Defines an area inside an image map.
<area></area>