term "tag" is derived from the English tag - «label label."Most often it is used in the sense of hypertext markup language element.Also can mean a label tag identifier separate file or packet in the data stream.
Markup Languages define how to display a web page in a browser.Placement of the text, images and hyperlinks set tags.Most often, Web pages are created using HTML - the standard markup language on the Internet.
Generally used paired tags - opening and closing, but there are also single.In HTML tag names are enclosed in angle brackets.
There are some mandatory tags, without which the Web page will not open.For example, the tag pair & lt; html & gt; & lt; / html & gt;must be at the beginning and end of the code of a web document.Tag & lt; head & gt; & lt; / head & gt;stores the service information about the document, and between the marks & lt; body & gt;and & lt; / body & gt;everything useful is the content of the page.
page to display correctly, you must abide by the order of opening a
nd closing tags, ieTheir investments: & lt; tag1 & gt; & lt; teg2 & gt; & lt; teg3 & gt; & lt; / teg3 & gt; & lt; / teg2 & gt; & lt; / tag1 & gt;
& lt; html & gt;
& lt; head & gt;
& lt; title & gt; This is me, a new page & lt; / title & gt;
& lt; / head & gt;
& lt; body & gt;
Useful information on the page
& lt; / body & gt;
& lt; / html & gt;
single tag & lt; br & gt;Text wrapping to another line, and & lt; p & gt;determines the line indent (paragraph).
have tags can have attributes (properties) with additional text formatting capabilities.For example, the color attribute can change the font color or background:
& lt; font color = "# f0f0a7" & gt;html - it's cool & lt; / font & gt;
background color is specified in the tag & lt; body & gt ;:
& lt; body bgcolor = "# f0f0a7" & gt;
attribute value must be enclosed in quotes.
To see what it looks like hypertext markup, right-click on the text you are reading now.The drop-down menu, choose the command "Page Source", "View Page Source" or "View of HTML-code," depending on your browser.
Tip 2: What are tags
Tag - This tag, the end of the rope in a literal translation from English.English-speaking programmers coined this word to mean "subject of the message."Thus, the tags - it tails into the sea of text information by pulling the right tail can easily get the desired text content.
Tags can be called a heritage theme library catalogs.In fact, they serve the same purpose as their predecessors from dokompyuternoy era: help easily navigate the vast amount of information.They are short, concluded in two or three words or phrases, the description of fact, the theme of a publication on the Internet - text, video, photos.
In today's virtual space without tags do is impossible.News sites, for example, there are many years, with updated several times a day, turning into a monstrous accumulation of chaotic variety of information.Classify the content of such sites in different ways, often by authors of the publication, but readers news columns are often interested in the news, not the individual style of the author.
In addition, on the same subject can write different correspondents.Therefore, it's best to resort to using a thematic classification, to find all the notes relating to any incident, regardless of who and when they are published.In recent years, many of these sites, this classification is obligatory texts and for greater streamlining existing fixed list of tags, the author must choose only one suitable for its publication.Reasonably tags affixed greatly facilitate readers find the information they are interested in, well, the authors added popularity, because the text is easier, the more people will read it.
For convenience, there is a so-called "tag cloud".This is a list of where derived the most common, popular tags used on the site.It's called "cloud" because it is often visually resembles a cloud.The more texts the site marked by a particular tag, the bigger the font, which this tag is written in the "cloud."With such a simple, but effective administration, "tag cloud" is becoming one of the most convenient navigation tools within the site.
In social (otherwise collective) public servers each user can invent your own tags.In some of them through the same tags can combine photos and recording different users.In others there is a so-called "search for interests," which is essentially the same tags, they are not only characterized by a text or a single photo and the entire contents of personal pages.Taking advantage of these opportunities, a variety of people can find new friends, with whom they share a common concern: whether or numismatics love for skydiving.
Tags need to be classified within the meaning of the information of any kind.
- Guide to HTML