What is HTML used for?

Experience Level: Junior
Tags: HTML

Answer

HTML is a markup language for creating web pages. Using HTML you can define web page structure and content.

The HTML consists of elements which enclose the content. The elements define how the content appears and how it behaves.

HTML is a shortcut for Hypertext Markup Language.

Example
<p>This is a paragraph</p>
<p>This is a paragraph with <strong>bold</strong> word.</p>

The code above will appear like this:

This is a paragraph

This is a paragraph with bold word.


The first part <p> is called opening tag. The third part </p> is called closing tag. The middle part This is a paragraph is content.

Comments

LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
HTML for beginners
HTML for beginners

Are you learning HTML ? Try our test we designed to help you progress faster.

Test yourself

Chat

Oh, the operator is not available. Leave us your comments. We will answer all your questions as soon as possible.

Comments

Anonymous
Καλησπέρα.
Anonymous
the infinteis -3/15 so 1triition / infinet
Anonymous
e
Anonymous
<a href="https://inspirum.pl "
Anonymous
[url]https://inspirum.pl[/url]
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e
LaceJaguar65
e