Search w3schools.com:

SHARE THIS PAGE

HTML Primer


HTML - Hyper Text Markup Language

HTML is the primary language for building/creating web pages.

HTML is an easy-to-learn markup language.

HTML uses markup tags inside angle brackets, like <p>, to define the elements of a web page:

HTML Example

<html>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>
</html>

Try it yourself »
Click on the "Try it yourself" button to see how it works

HTML uses start tags and end tags to markup web page elements: In the example above, the <p> tag marks the start of a paragraph, and </p> marks the end of the paragraph.

By using simple HTML tags, web designers can add headers, paragraphs, text, tables, images, lists, programming code, etc, to a web page (HTML document).

Web browsers (IE, Firefox, Chrome, etc) read HTML documents, interpret the HTML tags, and display the proper output (without displaying the HTML tags):

According to the HTML standard, HTML should be used to define the content of web pages.

To define the visual style (color, size, appearance, layout, etc), CSS (Cascading Style Sheets) should be used (see next chapter).


How to Learn HTML?

W3Schools' complete HTML tutorial teaches you everything you need to know about HTML.

HTML is easy to learn - You will enjoy it.

Study our Complete HTML Tutorial

Study our Complete HTML Reference




W3Schools Certification

W3Schools' Online Certification

The perfect solution for professionals who need to balance work, family, and career building.

More than 10 000 certificates already issued!

Get Your Certificate »

The HTML Certificate documents your knowledge of HTML.

The HTML5 Certificate documents your knowledge of advanced HTML5.

The CSS Certificate documents your knowledge of advanced CSS.

The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.

The jQuery Certificate documents your knowledge of jQuery.

The XML Certificate documents your knowledge of XML, XML DOM and XSLT.

The ASP Certificate documents your knowledge of ASP, SQL, and ADO.

The PHP Certificate documents your knowledge of PHP and SQL (MySQL).

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]