What are tags? We pass on to you ...

To talk about tags, it’s important to first understand what it is. This is necessary if only because there are several definitions of the term "tag".

The first definition of what tags are is almost universally known. A tag, simply put, is something between the subject of your message or article and the keyword. Say these are the words or phrases that characterize your text. For example, the topic of this article is: "What are tags? We pass on to you ...". The keywords that are relevant to this topic will be “html tags” (why html, more on that below), and the actual tags will be “html lessons”, “tags in html” or “what are tags”, etc. .

what are tags

But today we have a different topic. We’ll talk specifically about html tags. It happens that novice copywriters or rewriters see in the task the requirement: "Design in html". Or the question of tags may arise in a person who has just plunged into the world of website creation. One way or another, today many people are afraid of the html tags. In order not to seek help from others, it is better to understand right away.

What are html tags? HTML is a page markup language. We give an example. Let's say you moved into a new apartment, and you are helped to arrange furniture. How do people understand where to put what? That's right, you tell them about it. The same is on the site page. You have “furniture”, that is, it is text divided into headings or paragraphs, with various emphasis on text fragments, for example, in bold or italics. The tag will help

tags for html
create paragraph, images, tables, lists and more. In general, everything that you see on the page. And all these elements on the site need to be arranged exactly as you wish. It’s clear that the browser has its own language. And in order to put the page elements in their place and arrange, as we want, we need tags for html. Each web page consists of HTML. Without this language, there will be no page, and without html tags it will have one solid text, without paragraphing and other design.

Each html tag consists of the following characters: <>. The tag itself is written inside these characters. Almost always, it consists of two parts: the opening tag and the closing one. Between them is inserted text. For example, each paragraph of this article begins with <p> and ends with <p />. As you probably already guessed, the text that is enclosed in this tag will be a separate paragraph.

Although sometimes there are exceptions. So, for example, it happens that the tag does not close, that is, it consists of only one part. Such a tag breaks the line,

html tags
putting further text on a new line. This is convenient, for example, when you write poems on the site or make out the text in a similar way. To look at a website page in the form of html-markup, you can right-click anywhere on the website on any website and select "View page code" or "Page source" from the drop-down menu. In addition, you can see the source code by pressing Ctrl + U. You will find that the page is full of many html tags.

Well, I think we figured out what html tags are? Although after this article you didn’t learn how to write websites (we didn’t set such a goal), now that you’ll need to tweak something in your blog, for example, highlight text in italics or bold, you can just look on the Internet what tag is needed for this, but you already know how to use it!

Source: https://habr.com/ru/post/K23610/


All Articles