Upvotes
Anonymous 1
User 0
|
|
Member votes
|
|
Anonymous votes
|
|
Introduction to HTML
HTML is a language used to put text, images, links, and other elements on a webpage. Here's a very basic HTML document:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>My Page</title>
</head>
<body>
Hi, here is some text.
</body>
</html>
When a web browser (e.g. Chrome) reads the HTML, it creates this:
In the HTML document above, we see:
This is called a tag. The <html> tag signifies the beginning of the document, and is an opening tag. At the end of the document we see:
Notice it has a slash / in it. That makes it a closing tag. The </html> closing tag ends the document.
Tags help us specify where sections begin and end.
This content is part of a series
Comments
Leave a Comment
We'll review your submission and post it to this page.