How To Write a Web Page in HTML

HTML stands for HyperText Markup Language. It is the language that creates web pages.

In HTML, we use tags to annotate text or other content. A tag is a word surrounded by the < > signs. 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.

Properly written web pages must have <!DOCTYPE>, <html>, <head>, <title>, and <body> tags. The outline of a simple HTML web page is:



The <!DOCTYPE html> declaration defines this document to be HTML5. The <html> element is the root element of an HTML page. The <head> element contains meta information about the document. The <title> element specifies a title for the document. The <body> element contains the visible page content. The <h1> element defines a large heading. The <p> element defines a paragraph.

You can create a web page using any text editor. On Windows, the name of the built in text editor is Notepad. On Mac, the name of the built in text editor is TextEdit.

There are text editing programs out there that are more useful than the built in text editor because they highlight the tags, which helps you easily find syntax errors. A free text editing program for Windows is Notepad ++. Link to download Notepad ++ A free text editing program for Mac is TextWrangler. Link to download TextWrangler A free text editing program for Chromebook is Text. Link to download Text

To learn more about creating a web page with HTML, you can you w3schools. Link to w3schools HTML