List of main html tags. Basic HTML tags. Block and inline elements

A man cannot live by words alone,
no matter how much he swallowed them.
Adlai Stevenson.

In general, HTML is not a programming language. This is the HyperText Markup Language. That is, calling it “HTML language” is not correct.

To put it simply, HTML is list of tags(control words) that allow you to present plain text in formatted form. For example, select it bold, or italics etc. But the text can only be presented in this way in special programs ah - (programs with which you surf the Internet).

About them show only formatted text and hide HTML tags, which were used for formatting. To make it clearer to you what I'm talking about, click right click mouse over this page and in the menu that opens, select “Source Code” or something similar. This page will open before you in its present form.


You can create HTML code both in regular and special programs, so-called. Visual editors differ from text editors in that they are designed for typing HTML, CSS, JavaScript, PHP, etc. code, i.e., for web programming. In addition, they allow you to immediately view the fruits of your labors in the built-in browser and highlight some errors in the typed code.

I strongly recommend typing all the code by hand (to improve the directness of these very hands), visual editors they greatly facilitate this process. Personally, I use . This is far from the most latest version, but its capabilities are more than enough for me.

I do this: I type the code in Dreamweaver, then save and click the “View in Browser” button (you edit the list of browsers in this menu yourself), then return to Dreamweaver and continue editing. Here . That's it for the tools, now let's move on to the HTML tags.

Let's start with the structure of an HTML page, or rather with its main tags.

Required HTML page tags

The required (basic) HTML tags that are used in every HTML document include the following:

Note. In order for the browser to output the HTML code as text (not interpret it into code), after each opening angle bracket " "I leave a space. When you type the code, spaces DO NOT LEAVE.

As you see, all tags are paired(there is an opening tag and a closing tag), almost all tags in HTML are like this. The difference between the opening tag and the closing tag is that the closing tag is preceded by a slash " / " Such tags are also called container, because other tags can be inserted between them, i.e. place in a container. You can see for yourself that between the tags there are other tags.

You can type tag names in capital letters or in capital letters, there is no difference. That is, records of the type and for the browser have no differences and are interpreted the same way. Now let's talk in more detail about what these tags mean.

So, the main tags show browsers and other programs for viewing hypertext pages that they are dealing with a hypertext document. Any html document must start with and end with. That is, between these tags there is ENTIRE HTML page code.

Between the tags there are meta tags (page title, description, keywords etc.). They store information about the html page and technical information. In general, this tag is not mandatory, i.e. without it, the HTML document will be displayed normally by browsers. But even if you don’t plan to use the title area, at least write it simply. This is necessary for compatibility between different versions programs.

All information located between the “HEAD” tags is not displayed in any way by the browser (except for the information between the tags, where the name of the html document is located, displayed in top panel browser). But they can have a big impact on the appearance of an html page, its life on the Internet and ranking. We will talk more about the tags that are located in the header of a hypertext document later.

The main content of an HTML document is located between the and tags. Here is everything that we see when we open an html page: text, graphics, menus, buttons, etc. This is the main “body” of the page.

In all other tags used when creating an html document, they are located between (i.e. inside) these mandatory tags. Almost all tags in HTML have various attributes, properties and parameters that allow you to display information exactly as the developer intended. For example, if you write:

Then the background of the entire page will be red.

Here tag- this is, in fact, a tag; bgcolor- its attribute; "#FF0000"- attribute value (a tag can have several attributes).

Note. All tag attributes and their values ​​are specified in opening tag (the one that without slash), but in no case in the closing one.

And so, we figured out the main tags of an html document. Now it's time to study the rest in more detail. Here I want to make a small digression.

How I suggest learning HTML

By putting into practice the knowledge gained from, I realized what a mistake most of the authors of these books and tutorials made. All these textbooks, firstly, are intended for beginners, secondly, study HTML basics goes through them in order.

T . That is, the title tags of the html document () are considered first, and then the “body” tags ().

Based on my own experience, I dare to say that this procedure for learning the basics of HTML is categorically unacceptable for a beginner. A beginner makes an attempt to study all these numerous and little-understood title tags, firstly, without seeing the results of his learning (let me remind you, title tags are not displayed by the browser). And secondly, without even suspecting that most of these tags will not be needed to create the site he planned (at least at the beginning of work).

Thus, he only wastes time and desire to continue learning HTML. At the same time, maintaining the opinion that only “gurus” can do it for good money. I would also give up this activity if I didn’t give a damn about what I don’t yet understand and didn’t move on.

Therefore, I suggest that you first consider the tags related to the “body” of the html document (), and only then move on to the rest. Moreover, the “body” of the html page contains the information that site visitors will come for. And creating or finding it is much more difficult than writing code.

Well, now, without hesitating for a minute, click the “Next” button and continue to find out how these unshaven and sleep-deprived guys create websites.


HTML tags (cheat sheet)

HTML document (page) is a document written in HTML. Contained between tags And .

Document markup tag values

Markup tags - special teams for arranging text, graphics, video and audio fragments on the screen, as well as commands used to communicate with other HTML documents and Internet resources.

Basic markup tags

And . Between these tags is information about the document.

</b> And <b> . These tags contain the name of the page, which will be displayed in the frame of the viewer window.

And . The "body" of the document (text, graphics, etc.) is located between these two tags.

Tag options :

BGCOLOR - background color ( BGCOLOR= "#000000" > )

BACKGROUND - background

TEXT - text color

ALINK - active link color

And

- tags used to highlight paragraphs. A new paragraph is always separated from the previous one by a blank line.


- a tag used to wrap text to another line. Can also be used to separate graphics from text by spacing.


- a tag used to logically separate text with a horizontal line.

 And 
- Between these tags is pre-formatted text. It is displayed on the screen in a font like "courier".

Alignment options

Used in

And

ALIGN= LEFT - left alignment

ALIGN= RIGHT - alignment to the right margin

ALIGN= CENTER - center alignment

Alignment tags

And - left alignment

And - right alignment

And
- center alignment

Headings used to highlight logical parts of text

And

- First level title.

And

- Second level heading.

And

- Third level heading.

And

- Heading of the fourth level.

And
- Fifth level heading.

And
- Level six heading.

Tags for highlighting text and font

And- tags for highlighting text (words, letters) in bold.

And - tags for highlighting text (words, letters) in italic font, such as Italic.

And - text located between these two tags will be underlined.

And - the text located between these two tags will blink.

SIZE= n > And - tags for changing the font size (where n is the font size in pixels px).

COLOR= "# FFFFFF"> and - tags for changing font color.

Tags for creating lists

    And
- tags showing the beginning and end of a numbered list

    And
- tags showing the beginning and end of a bulleted list.

  • - List item

    And
    - tags indicating the beginning and end of the glossary.

    - The glossary term is located without indentation from the left margin of the page.

    - Description of the term, located indented from the left margin of the page.

    Command tags for inserting non-text information objects into text

    SRC= "file.gif" > or SRC= "file.jpg" > - insert command graphic image

    SRC= "file.wav" > - command for inserting a sound fragment

    SRC= "file.avi" > - command for inserting a video fragment

    Graphics Options

    WIDHT - image width in pixels

    HEIGHT - image height in pixels

    ALIGN - alignment (ALIGN= LEFT - alignment to the left margin, ALIGN= RIGHT - to the right margin, ALIGN= TOP - to the top border, ALIGN= BOTTOM - to the bottom border, ALIGN= MIDDLE or CENTER - to the center)

    HSPACE- horizontal indent from graphic image

    VSPACE - vertical space

    ALT - alternative text, used to indicate an image

    Commands for hyperlinking with other HTML documents and Internet resources

    HREF= "fail.htm" > And or HREF= "http://www.ru" > And - hyperlinks

    HREF= "mailto: nick @mail .ru"> nick @mail.ru
    - hyperlink with email address

    Tables

    Table - a grid for displaying data in rows and columns, as well as a text formatter

    And
    - tags for inserting a table into an HTML document

    Tag options

    BGCOLOR - background color

    BORDER - border width

    WIDHT - table width

    Table markup tags

    - the name of the table, has the parameter ALIGN= TOP - alignment above the table and ALIGN= BOTTOM - below the table.


    And - Table line. May have parameters BGCOLOR - background color inside the line;

    ALIGN= LEFT , RIGHT , CENTER - alignment within a line;

    VALIGN= TOP , BOTTOM , MIDDLE - vertical alignment within a table row.


    - Table column. May have parameters BGCOLOR - background color under the column;

    ALIGN= LEFT , RIGHT , CENTER - alignment within the column;

    COLSPAN stretches a cell over several columns, ROWSPAN stretches a cell over several lines.


    - Column title. May have parameters BGCOLOR - background color under the name;

    ALIGN= LEFT , RIGHT , CENTER - alignment;

    VALIGN= TOP , BOTTOM , MIDDLE - vertical alignment;

    COLSPAN, ROWSPAN - stretching a cell into several columns or rows; WIDHT - title width.

    Frame frames

    Frames are a means of dividing the screen into several areas, each of which displays the content of a separate Web page or Web site.

    And tags for creating a frame

    Tag options

    COLS - divide the screen into a certain number of columns (vertical)

    ROWS - divide the screen into a certain number of columns (horizontal)

    BORDCOLOR - frame color

    BORDER - border width

    FRAMEBORDER - frame border (FRAMEBORDER= YES - there is a border, FRAMEBORDER= NO - no border, FRAMESPACING= n - border width)

    Tag to describe the frame ( SRC= "file.htm" > ).

    Tag options

    SCROLING - parameter for adjusting the scroll bar:

    SCROLING= YES - the scroll bar will always be there

    SCROLING= NO - there will be no scroll bar

    SCROLING= AUTO - the scroll bar appears only when necessary

    MARGINWIDHT and MARGINHEIGHT - parameters that control the indentation inside the frames, used to align the graphic image inside the frame

    NORESIZE - a parameter indicating that the size of the frame frame will never change.

    A link to HREF= "file.htm" TARGET= "frame2" > file.htm - Communication between frames

    TARGET - communication attribute between frames. Has several meanings:

    BLANK loads the contents of the page specified by the link into a new empty window.

    SELF the contents of the page specified by the link into the window that contains the link.

    PARENT loads the contents of the page specified by the link into the window that is the immediate owner of the frameset.

    TOP the contents of the page specified by the link into a window, ignoring any frames used.

    Handling browsers that don't support frames:

    Frames are located here


    </b> </p><p><b><span><BODY> </b> </p><p>Here is the text without frames</p><p><b><span><BODY> </b> </p><p><b><span>

    Ticker

    TEXT - tag that creates a creeping line

    DIRECTION= "left" > TEKCT - If the ticker needs to be directed from right to left

    DIRECTION= "right" > TEKCT - movement from left to right.

    scroll - standard movement from right to left

    slide - the inscription runs once from the right edge to the left, where it remains.

    alternate - movement from the right edge of the page to the left and back. Endless cycle.

    LOOP= n BEHAVIOR= scroll > TEKCT - Limitation of the number of cycles. The n value of the LOOP statement specifies the number of times the loop will be repeated.

    WIDHT=n>TEKCT - indicate the width of the area occupied by the creeping line, where n is the width of the part of the page on which the creeping line is located. The n value is specified both in pixels and as a percentage of the total visible width of the page.

    scrollamount= n > TEKCT - Adjustment of the movement of the inscription on the screen. Here n is the number of pixels.

    scrolldelay=t>TEKCT - In this case, the variable - time t - is measured in milliseconds. The speed setting method consists of specifying the time after which the text will be redrawn on the screen again.

    SIZE= n > TEXT - ability to specify the font size of text in a line.

    BGCOLOR= n > TEXT - paint the surface of the running line in any color, where n can be specified as a hexadecimal number or by writing its name

    HEIGHT= n > TEXT - indicates the height of the ticker

    In HTML, everything you write in an HTML document will be displayed on the browser screen as solid text, that is, the browser ignores line breaks, and several spaces you type in a row are replaced by one.

    Tags are control commands that were invented in order to format text, i.e. tags tell the browser exactly how to display the portion of text enclosed in the tags. To create a tag, you enter HTML code between the angle brackets, which is intended for browsers only. Site visitors do not see tags.

    As noted above, all tags begin with an angle bracket< и заканчиваются угловой скобкой >. The opening angle bracket is followed by the name of the tag (command).

    For example, tag Designed to emphasize text, browsers display such text in italics. When the browser encounters this tag, it switches to formatting the text following the tag in italic font.

    Let's look at an example:

    This text is normal. This text is in italics.

    Tag called a start or opening tag, which means the browser has included a specific command (in this case, writing it in italics). Most tags have a pair in the form of a closing tag that disables the command.

    The closing tag looks the same as the starting tag, but begins with a slash. So, the end tag for italics is - .

    Let's look at an example:

    This text is normal. Attention! Italics. This is again a regular font.

    As you may have noticed, the browser sequentially analyzes the HTML document in search of commands (tags) and applies or disables different parameters text formatting. The browser displays formatted text (everything that is not a tag) in its window.

    And
    And And
    The process of inserting tags into plain, unformatted text is called markup in an HTML document, and tags are called markup characters. When writing tags, the case of letters is not taken into account; a tag can be written in both lowercase and capital letters, but it is still recommended to use capital letters.

    Below are examples of basic HTML tags, with an explanation of their use, as well as examples of how they can be used in an HTML document.

    Headings

    There is a special tag for specifying headings in HTML. There are 6 levels of headings in HTML, ranging from those for the most important announcements, to those for the least important.

    Hello, dear readers of the blog site! In the last article, we figured out what a document type is and how browsers determine the language used using . The tag was considered, but the concept (term) itself was not. In this article I will tell you what a tag is, why it is needed and what types of tags there are. As I said in the last article of this section, we will create a file page, which we will experiment with, based on the knowledge we have acquired. But this is at the end of the article, but for now let’s look at the HTML tag.

    What is an HTML tag, types of HTML tags, writing examples

    HTML tag- translated from English tag - tag-characters enclosed in angle brackets and which are elements of hypertext markup language (HTML). Symbols can be of some use English language(the entire Internet is built on it). The tag looks like

    This is a tag for making text bold. Tags have three types:

    • Opening tag- tag at the beginning. In the example above, the tag is opening and stands before the text that needs to be highlighted.
    • Closing tag- tag at the end. Distinctive feature serves as a slash “/” before characters in angle brackets. Let's look again at the example discussed above. Tag is closing and comes after the text, which should be highlighted in bold
    • Single tags- tags that do not have a closing tag. An example would be
      Here is an example of an opening and closing tag:

    The entire design, including the text, will look like this:

    This text will be highlighted in bold

    And this is what this text will look like when the browser processes it and provides it to us: This text will be highlighted in bold. There is also such a concept as container tags, but this is just a generic name for the opening and closing tags. As I wrote above, in addition to container tags, there are also single tags. The difference is that such tags do not need to be closed. The clearest and most common example is the newline tag.

    Basically, single tags are used to insert an element, such as an image or a table.

    What are attributes, writing rules and why are they needed?

    In addition to tags, there are also so-called attributes. More precisely, not besides, but in tags. Using attributes, you can set additional parameters for a tag. Attributes each tag has its own, but in this topic we will experiment with the tag , which, without attributes, actually doesn’t do anything meaningful.

    Font— a container tag used to format text. Using this tag, you can make the text bold, change the size, and the distance between lines - in general, everything that you can do with the text. Let's look at an example with text size. First, let's enclose the text in a Font tag.

    Text

    Now a little about the rules for writing attributes. Attributes Always are written in the opening tag and after the characters of the tag itself. You can write multiple attributes in one tag in any order. You can find the attributes on the W3C validator website (which I will write about below). So here's an example of a font tag with a size attribute:

    Text

    This attribute in the font tag changes the size of the Text enclosed in the tags.
    If you open source page, you will see that the place where the large word “Text” is located looks like

    Text

    You have already seen how attributes are written. They are written in exactly the same way in other tags: first we write the attribute itself (in this case size), then we put “=” and enclose the attribute parameter in double quotes. You can find all the attribute parameters on the same consortium website world wide web.

    What is a W3C validator, writing rules and list of tags

    As I wrote, there are a great many tags. But where can you find them all? This is what it exists for W3C validator W3C - World Wide Web Consortium, and in Russian - World Wide Web Consortium. Not entirely clear, right? This is the place where web standards are developed - (hypertext markup languages ​​are their brainchild). At the head of the entire consortium is Tim Berners-Lee, known from the previous article, the creator of HTML. The website of this organization is w3.org. I warn you, the site is entirely in English, so have a dictionary or translator in your browser. By the way, the Google rating for this site is 9, and 37,000 (this is all a lot, if anyone doesn’t know).

    Let's return to the topic of the article. We are interested in the HNTML 4.01 language standards. Follow the link HTML 4.01 Specification, after which we see the elements tab at the top, click on it. So the page with all the tags opens. These tags were developed and adopted as a standard by the consortium. Everything, again, is in English. Immediately after the words “Index of Elements” we see a legend (the meaning of the letters in the columns):

    And immediately after the legend there is a table of the tags themselves:

    • In the first column - Name— the name of the tag itself is what should be in angle brackets (< и >).
    • Second column - Start Tag- presence of an opening tag. In this column you can see the letter “O”, which means “Optional”, and translated from English - Optional. This letter is present only opposite the tags , , And and means that you can put an opening tag, or you don’t have to – the browser will do everything itself.
    • Third column - End Tag— presence of a closing tag. Opposite this tag you can see both the letter “O” and the letter “F”. The meaning of the first one has not changed. The second letter - “F” - literally “forbidden” in English - means that it is prohibited to put a closing tag, it simply does not exist. For example, there is no tag, because there is nothing to hide in it.
    • Fourth - Empty— means that the tag is single (empty). All tags that have the letter “E” in front of them in this column also have the letter “F” in the previous column. After all, single tags do not have closing tags. An example is the same tag .
    • Fifth column - Depr. or Deprecated- from English “not recommended”. If this column contains the letter “D” (which stands for exactly the same) it means that this tag is not recommended for use in HTML. Looking ahead a little, today for the design of both text and appearance The entire site and HTML document uses cascading style sheets (CSS). In short and simply, one file is created in which all the text parameters that can be called by certain tag attributes are written. So, this function used only on websites, because CSS is not applicable when sending news by mail or RSS. And here these same tags come to the rescue. Most of these tags, by the way, relate to text design ( And
      are an example)
    • Sixth column - DTD- can contain either a letter "L", or "F". First - "L" - Loose DTD— means that the tag opposite which this letter appears can only be used in a transitional document type (- Transitional, which I wrote about in the previous article). Second - "F"Frameset DTD— means that the tag can only be used in a document, type FRAMESET (- Frameset). If the letter is missing, then the tag can be used in all types of documents.
    • And the last, seventh column - Description— a brief description of the tag, again in English

    The attributes are contained on the same page of the HTML 4.01 specification, but in the “attributes” tab. There are many more attributes than tags. And again I’ll write everything down point by point.

    • First column - Name— as in the case of tags — the name of the attribute. Everything is in English, but with basic knowledge you can guess what this or that attribute does.
    • Second column - Related Elements is a list of all tags that use any attribute. All tags have links, so you can immediately go to information about the tag.
    • Third column - Type are all possible values ​​for a particular attribute. For example, opposite the size attribute we selected in the Font tag is the CDATA value. We'll look at it later, but in short, it's a special set of size options (in this case). After all, you can write both pixels and percentages
    • Fourth column - Default- indicates whether the attribute is required in a certain tag. For example, in the Img tag the src attribute is required, as it indicates the source from which to take the image.
    • Columns 6, 7, and 8 mean the same as in the case of tags.

    All of the above applies only to HTML version 4.01. We will talk about HTML 5 in another article, and we will also touch on XHTML. And now, as I promised, we will create a page in HTML, which we will experiment with.

    Creating a file in html format - HTML document

    First of all, let's figure out what it is HTML document. And this is, in fact, a file in HTML format. And all Internet pages are HTML documents. For example, when you arrive at a site in address bar at the end you can see “.html” or “.htm” after the address. This is the file we will create with this extension. In general, if you want to experiment with a website rather than a page, then it’s better to create local server— Denver (about which I want to write everything).

    Considering that I didn’t even talk about the tags present on each page, we’ll simply create a file with any name and extension.html. It is possible (and best) to use Notepad++, because in this text editor Code highlighting is used, which is very convenient when editing code, and files can be saved in a variety of formats. There are also programs in which, when you type a code, the result immediately appears in processed form.

    So we just need to open Notepad++ and save a file with arbitrary text (you can also empty it), but in .html format. To do this, as usual, click on the file inscription, then “save as” and look among the large list of extensions "HyperText Markup Language file(file extensions)". That's all, actually. We will add the first lines to this file in the next article from the section “Creating a website from scratch”

    Hello, dear readers of the blog site. In fact, this term has several meanings that do not fit together in any particular way. I will try to talk about each of them in this publication.

    You will learn, what are HTML tags and how they differ from meta tags, and also learn how tags are used as tags on sites (their variety is ), and finally, let’s take a general look at musical tags in audio files. That's how multifaceted this term becomes.

    But in all cases the word "tags" means markup or web pages using HTML code, either the entire site using tags, or your music collection by specifying the album and song.

    What are tags on a website (tags for creating navigation)

    Let's start simple. You've probably all seen that under some articles on websites there is a field called tags or tags, where some words are listed. Why is this being done? In general, to facilitate navigation on this site ().

    The so-called tags are used keywords, a set of which briefly characterizes the publication (for example, for home page The following set of tags would suit my blog: website creation; promotion; website promotion; earnings).

    With the help of these words it will be possible to clearly determine what this article was about. But their main value is not this, but the fact that a visitor can click on any tag and see a list of all the articles on the site in which it appeared. Essentially this is powerful tool classification of information.

    So as not to search necessary tags under articles, website owners very often create the so-called Tag Cloud, which can be placed in the left or right column of the site or in its footer (bottom). This disgrace in practice may look like this:

    It usually lists the most popular tags, and you can view all the tags by clicking on the corresponding link. Sometimes, more frequently used tags (they appear in more articles on this site) are displayed in a larger font, and less frequently used ones in a smaller font.

    Sometimes a separate page is created to display them, as shown in the previous screenshot.

    Why is this markup method using tags not used on all websites, if it is user friendly? They are not on my blog either, for which there are a number of explanations. Although their use is provided by default, there are also a lot of plugins for working with tags.

    Yes, tags work great when you have few articles and you remember well all the tags that you have already created and used in other articles. But with an increase in the number of materials, the number of tags increases sharply; they begin to be partially duplicated when keywords that are close in meaning are used.

    It results in a huge mess, the value of which in terms of improving navigation, in my opinion, is rather doubtful. For this purpose, on a large web project, it is better to use site search. Although the tags work well in in social networks, where you can use tags to combine information from different users and view it in one place. .

    What are HTML tags?

    I first decided to study them fifteen years ago, but then Title tag I didn't make any progress then. Then I came across a free video course by Evgeniy Popov on Html and things went well. Of course, that course was only the initial stage, but it is precisely this simple presentation that beginners often lack.

    These lessons cover basic tags, with which you can then easily create tables, insert pictures and hyperlinks into the text, add various forms to the site, and much more. Total 33 free videos on HTML topics.

    But the video course is a video course, and I have to interest you so that you download it and watch it. From general phrases it is not clear what tags are in the HTML language and why you need to study them. Oh this is great and simple thing, which will allow you to become the master of your own website. Why do you need a website?

    Well, probably, first of all, for self-expression and effort, and secondly - . Just be quiet, otherwise everyone will hear and run to study what tags are, make websites and earn everything that only you could earn, and I’m in the company. Therefore, I will continue to speak exclusively in a whisper.

    The Internet can be compared to television, where you make your own small program (create a website using tags) and receive income from advertising. The more popular your show (Internet project) is, the more you will earn. There is no upper limit, although there is no lower limit either. But you don’t need to invest money, just your labor and time spent studying tags, how the engine works and, in fact, filling the site with content.

    So, tags are the simplest markup elements of a web page so that the browser, when loading it from the server, understands exactly how to display a particular element (text, image, video). Earlier HTML language He was responsible for this whole matter alone, but then they came to help him and he felt much better. Popov also has a free video course on them, which you can download from here .

    Guys, when you master Html tags, you will understand that it was as easy as shelling pears. The most important thing is to start and somehow stimulate yourself. I’m not just telling you about the financial side. The site can become your main source of income and the whole family can feed from it. You need luck, perseverance and not being afraid to try new things.

    Tags are different, but there are not many of them (of those that remained relevant after the introduction of CSS). Look how simple it is. Let's say you want to create a paragraph - simply surround the text of the future paragraph with opening and closing P tags (this is latin letter and in the code it is better to write it small, but here I made it capital for clarity). This is what it will look like:

    Text text...... text text

    Do you understand the difference between the opening Html tag (at the beginning) and the closing tag (at the end)? Well, of course, I just added a forward slash after the triangle bracket.

    Oh, I forgot to say By what criteria does the browser separate tags?(markup) from the main content. Did you guess it yourself?

    That's right, that's triangle brackets, in which we enclose them. The browser saw such a bracket when parsing the code of a web page and realized that it was a tag, and processes everything contained in it according to a certain algorithm (makes paragraphs spaced apart in height, increases the font of headings, etc.).

    If you need to use an opening triangular bracket in your text, be sure to do it with so that the browser understands you correctly. This must be remembered.

    In code they can look, for example, like this:

    In fact, they contain the description and keywords of the web page for which they are registered. Read more about them in the article just above.

    Meta tags are written in the web page code in a strictly defined place. Do you know which one? That's right, in the so-called “head” of the document, which consists of an opening and closing HEAD tags.

    Anything written inside them (including META tags) will not be displayed on the web page. This is strictly proprietary information. The above description and keywords tell search engines about the content of this web page, and the meta tag given just below.

    What are music tags in audio files?

    When you played music in the car or on your player (phone), you probably noticed more than once that some creepy gibberish was displayed instead of the title of the track and the name of the author-performer. One might assume that the names of the downloaded music files are written in the wrong Russian language encoding.

    If you rename files using , you will still see an unpleasant picture on your player. What to do? And who is to blame for this situation? Oddly enough, but the reasons are wrong prescribed tags in this music file.

    They are sewn directly into the audio file (at its beginning or end) and can contain information about the composition, its author, album, track duration and something else not so important. In the latest incarnations of music tags, even images of CD covers can be sewn into them (generally a plague).

    But the problem arises, as a rule, not in their availability, but in obtaining ability to edit them. There comes a time in the life of every self-respecting music lover when he is “ready to tear and throw,” just to put things in order in his collection and add correct tags to all tracks that are readable on any device. How to do it?

    By using special software. The tags themselves appeared in audio files for the first time at the end of the last century. For MP3 files, the standard for adding them was called ID3, and for music files that are compressed without loss of quality (such as FLAC and the like), the standard for adding tags (meta data) was called Vorbis comment.

    For music recorded in the Windows WMA format there is WM metadata, and for Apple MP4 there is iTunes metadata (by the way, I recently wrote about that).

    So, you can edit tags using special programs. The most popular of them is probably Mp3tag(official site, but be careful when downloading - don’t accidentally click on an ad that offers to download something completely different). I think that you will find all the other programs yourself, especially since this one will be quite sufficient to complete this task.

    This is how diverse the tags turned out to be, which in all these cases performed their main role - markup (of articles on a website, content on a web page, or meta-data in music files). I hope that now you have fewer questions on this topic.

    Good luck to you! See you soon on the pages of the blog site

    You might be interested

    Tags for Instagram - why they are needed and where to see the most popular ones
    Hashtags - what are they and how hashtags are used on Twitter, Instagram and other places How to automatically add the Alt attribute to Img tags your WordPress blog (where they don’t exist)
    Radikal - free photo hosting with fast and easy photo uploading via Radikal.ru
    Link - what is it and how to create it What is cache - how to clear the cache in Opera, Mozilla, Chrome and other browsers
    The Big Question - how to make money from a question and answer service Comparison is a technique that decorates an image (examples from literature) What is Smart TV on TV