HTML5
HTML5
HTML-5
Golden Tutorials
What is HTML?
HTML stands for Hyper Text Markup Language
HTML is the standard markup language for creating Web pages
HTML describes the structure of a Web page
HTML consists of a series of elements
HTML elements tell the browser how to display the content
HTML is not a programing language.
The HTML element is everything from the start tag to the end tag:
HTML TUTORIALS
Page |2
<html>
<head>
<title>Page title</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
HTML TUTORIALS
Page |3
Remember :
HTML Editors
People use a lot of text editors most of them uses notepad and textedit for
writing notes and for editing even codes too.
Brackets
VS code.com or vscode.dev(online version)
Vim.com
Sublime Text.com
Atom.io
Open the text editor and start writing code and save it as “index.html” or
“.htm”.
HTML Document
Document type is called “<DOCTYPE html>”
Or sometimes like
<Doctype html>
<doctype html>
<Doctype Html>
HTML TUTORIALS
Page |4
<!DOCTYPE html>
HTML Links
HTML links are defined with the <a> tag:
The link's destination is specified in the href attribute.
HTML TUTORIALS
Page |5
HTML Image
HTML images are defined with the <img> tag.
The source file (src), alternative text (alt), width, and height are provided as
attributes:
Tag Description
Figure 4 html
image
<html> Defines the root of an HTML document
HTML TUTORIALS
Page |6
The <br> tag defines a line break, and is an empty element without a
closing tag.
HTML Attributes
HTML attributes provide additional information about HTML elements.
HTML TUTORIALS
Page |7
HTML Image
HTML images are defined with the <img> tag.
The source file (src), alternative text (alt), width, and height are provided as
attributes:
HTML TUTORIALS
Page |8
<!DOCTYPE html>
<html lang="en">
<body>
...
</body>
</html>
HTML TUTORIALS