HTML
HTML
TEXTUAL
WYSIWYG HTML
EDITOR
NOTEPAD++
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
A SIMPLE HTML DOCUMENT
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
A SIMPLE HTML DOCUMENT
The <!DOCTYPE html> declaration defines this document to be HTML5 <!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
A SIMPLE HTML DOCUMENT
<!DOCTYPE html>
The <html> element is the root element of an HTML page <html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
A SIMPLE HTML DOCUMENT
<!DOCTYPE html>
<html>
The <head> element contains meta information about the document <head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
A SIMPLE HTML DOCUMENT
<!DOCTYPE html>
<html>
<head>
The <title> element specifies a title for the document
<title>Page Title</title>
</head>
<body>
</body>
</html>
A SIMPLE HTML DOCUMENT
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
The <body> element contains the visible page content </head>
<body>
</body>
</html>
A SIMPLE HTML DOCUMENT
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
A SIMPLE HTML DOCUMENT
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
HTML PAGE STRUCTURE
HTML TAGS
The href attribute of <a> specifies the URL of the page the link goes to
The src attribute of <img> specifies the path to the image to be displayed
The width and height attributes of <img> provide size information for images
The alt attribute of <img> provides an alternate text for an image
The style attribute is used to add styles to an element, such as color, font, size,
and more
The lang attribute of the <html> tag declares the language of the Web page
The title attribute defines some extra information about an element