HTML/Introduction

From Wikiversity
Jump to navigation Jump to search

This course currently has little content. A more develop resource can currently be found at What is HTML.


HTML is a language for describing web pages and stands for Hyper Text Markup Language. HTML is not a programming language, it is a markup language made up of markup tags. HTML uses markup tags to describe web pages. These tags usually come in pairs, are surrounded by angle brackets and generally have 'opening' and 'closing' tags, i.e. <html></html>

The purpose of a web browser, such as Internet Explorer or Firefox, is to read HTML documents and display them as web pages. You only need 8 tags to create a webpage.

Structure[edit]

<html>
<head>
<title></title>
</head>
<body></body>
</html>
<html></html>
Begin your HTML webpage
<head></head>
HTML tags contain the the code which is not really seen by the website user. It contains for instant javascript or title tags. You will learn more in the next few pages
<title></title>
HTML tag contains the title of the webpage which you see at the top of your browser tab
<body></body>
HTML tags contain, like it it says, the body of the webpage which the user sees

Example[edit]

Blank Webpage[edit]

<html>
<head>
<title></title>
</head>
<body></body>
</html>

Greeting Webpage[edit]

<html>
<head>
<title>Greeting Webpage</title>
</head>
<body>
Welcome to my webpage
</body>
</html>


Learning HTML
Previous: (none) — Next: WYSIWYG vs. Manual Coding in HTML