HTML
stands for HyperText Markup Language, and it is the structure of a webpage. You can identify HTML code by its angle brackets like this: <p>Hello World</p>
.
It is the skeleton of every webpage. It tells the web browser what a heading (<h1>
) or a paragraph (<p>
) is. It does this through special codes called tags, for example: (<span>
). There are two kinds of tags in HTML: paired and unpaired. Paired tags need an open tag: <strong>
and a closing tag: </strong>
, like this <strong>Dav/Davs</strong>
. This code boldens the content between the text, like this Dav/Devs. At the same time, unpaired tags are self-closing like a horizontal rule: <hr>
, like this:
There are more advanced tags like <video>
to embed video content and <canvas>
to allow graphics to be drawn on a webpage.
Here’s a sample html code:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dav/Devs</title>
</head>
<body>
<h1>Welcome to Dav/Devs</h1>
<p>My personal portfolio website</p>
</body>
</html>
If you’re interested in learning HTML
, contact me on LinkedIn, and I will teach you.