HTML
HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language. HTML describes the structure of Web pages using markup. HTML elements are the building blocks of HTML pages. HTML elements are represented by tags.
HTML is the standard markup language for creating Web pages.
- HTML stands for Hyper Text Markup Language
- HTML describes the structure of Web pages using markup
- HTML elements are the building blocks of HTML pages
- HTML elements are represented by tags
- HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
- Browsers do not display the HTML tags, but use them to render the content of the page
To learn more check this HTML tutorial website.
How to start
HTML Tags
HTML tags are element names surrounded by angle brackets:
<tagname>content goes here...</tagname>
- HTML tags normally come in pairs like
<p>
and</p>
- The first tag in a pair is the start tag, the second tag is the end tag
- The end tag is written like the start tag, but with a forward slash inserted before the tag name
Note: The start tag is also called the opening tag, and the end tag the closing tag.
HTML Editors
Write HTML Using Notepad or Wordpad or other text editors
Web pages can be created and modified by using professional HTML editors.
However, for learning HTML we recommend a simple text editor like Notepad (PC) or TextEdit (Mac).
We believe using a simple text editor is a good way to learn HTML.
Step 1: Open Notepad (PC)
Windows 8 or later:
Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad.
Windows 7 or earlier:
Open Start > Programs > Accessories > Notepad
Step 2: Write Some HTML
Write or copy some HTML into Notepad.
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
continue
Step 3: Save the HTML Page
Save the file on your computer. Select File > Save as in the Notepad menu.
Name the file "index.htm" and set the encoding to UTF-8 (which is the preferred encoding for HTML files).
You can use either .htm or .html as file extension. There is no difference, it is up to you.
continue
Step 4: View the HTML Page in Your Browser
Open the saved HTML file in your favorite browser (double click on the file, or right-click - and choose "Open with").
The result will look much like this:
Exercises/Actvities
-
Download HTML activity 1.docx.1
HTML activity 1.docx.1 Details
Thursday, 21 February 2019 [34KB] -
Download HTML Activity 2.docx.1
HTML Activity 2.docx.1 Details
Thursday, 21 February 2019 [182.4KB]
File(s) to download
-
Download HTML Home.pdf
HTML Home.pdf Details
Friday, 01 February 2019 [25.7KB] -
Download html_attributes.pdf
html_attributes.pdf Details
Friday, 01 February 2019 [62.3KB] -
Download html_basic_tags.pdf
html_basic_tags.pdf Details
Friday, 01 February 2019 [50.1KB] -
Download html_elements.pdf
html_elements.pdf Details
Friday, 01 February 2019 [33.8KB] -
Download html_formatting.pdf
html_formatting.pdf Details
Friday, 01 February 2019 [57.7KB] -
Download html_overview.pdf
html_overview.pdf Details
Friday, 01 February 2019 [39.8KB]