What is HTML?
HTML is the standard markup language for creating Web pages.
What does HTML stand for? It stands for HyperText Markup Language.
Example of a basic HTML
this example is in notepad found on every computer.
Example Explained
<!DOCTYPE html> declaration defines this document to be HTML5
<html> element is the root element of an HTML page
<head> element contains meta information about the document
<title> element specifies a title for the document
<body> element contains the visible page content
<h1> element defines a large heading
<p> element defines a paragraph
HTML Tags
HTML tags are element names surrounded by angle brackets:
HTML tags normally come in pairs like <p> and </p>
The first tag in a pair is the start tag ( opening tag ), the second tag is the end tag ( closing tag )
The end tag is written like the start tag, but with a forward slash inserted before the tag name
What HTML looks like
Example of what it looks like in a web browsers :


No comments:
Post a Comment