############### Basic Tags ############### HTML Tags are like atoms, and due to this, when we talk about a tag with content inside it, we call it an **Element**. The word “Tag” refers specifically to the HTML code in the format of . You already know some basic tags from before, , , and . These are structural and usually, only contain other tags. Tags can contain as many other tags as you like, and form what we call a **Nested structure**\ . .. highlights:: **We can think of each tag as a box, which can contain many other smaller boxes, which themselves eventually contain useful bits and pieces. All tags can be nested, but some tags are useful only for creating an easy to navigate structure.** In the head, the tag is used to change the title of the tab on the browser. This is useful for when humans have more than one page open, and should contain a short and meaningful title for the page. .. code-block:: html <head> <title>My Wonderful Page Some useful content tags for the body are

,

, , and
. Notice that in HTML, the more commonly used tags are very short. This is so that large web pages can be written faster, and so that HTML documents can be shorter and quicker to download. **

** stands for "\ **P**\ aragraph”, and means that we want to display some simple text. .. code-block:: html

Hello, world!

**

** stands for “\ **H**\ eading, size **1**\ ”, and means that we want to display a large text heading.

is a slightly smaller heading, and the numbers go up to

in most browsers, each time getting smaller. .. code-block:: html

Large text

Fairly large text

Smaller text, but bigger than a paragraph
**
** stands for “\ **A**\ nchor”, and means that when the user clicks on this content, they should be sent to another web page. tags can wrap multiple elements, such as a

, or a

tag, and will make the whole element click-able. As a reminder, the attribute “\ **href**\ ” stands for “\ **H**\ ypertext **REF**\ erence”, and tells the computer where to send the human if they click on it. .. code-block:: html Google

Big Google!

We'll cover a few more tags in the next post: :doc:`more-tags`