1/23
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
hypertext markup language (html)
is the standard language used to create and structure web pages. It tells a web browser how text, images, links, and other content should appear on a webpage.
structure of html
An HTML document follows a basic structure that organizes the content of a webpage.
<!DOCTYPE html>
Declares that the document uses HTML5
<html>
The root element that contains the entire webpage.
<head>
Contains information about the webpage such as the title.
<title>
Displays the webpage title in the browser tab.
<body>
Contains the visible content of the webpage.
html elements
are the building blocks of a webpage. They define different types of content.
<h1>
Headings
<p>
paragraph
<a>
hyperlink
<img>
image
<ul> / <ol>
lists
<table>
tables
<div>
division or section
<br>
line break
</p>
closing tag
html attributes
provide additional information about HTML elements. They are written inside the opening tag.
href
tells where the link goes
src
defines the image file location
alt
provides text if the image cannot be displayed
style
changes the appearance of the element
id
Unique identifier
class
Group elements for styling