Abbreviations and acronyms in HTML. Lesser Known Semantic Elements Typical Use Cases

TEG

thermoelectric generator

tech.

Dictionary: S. Fadeev. Dictionary of abbreviations of the modern Russian language. - S.-Pb .: Polytechnic, 1997 .-- 527 p.

TEG

triethylene glycol

TEG

thromboelastogram

honey.

A source: http://cardio-burg.ru/magazin/magazin.php?nnn=2000_2&cont=20002s8

TEG

therapeutic evacuation hospital

honey.

Dictionary: Dictionary of abbreviations and acronyms of the army and special services. Compiled by A. A. Shchelokov. - M .: OOO "AST Publishing House", ZAO "Geleos Publishing House", 2003. - 318 p.


Dictionary of abbreviations and acronyms... Academician. 2015.

Synonyms:

See what "TEG" is in other dictionaries:

    Tag- (tag, English tag "label, label, tag; tag") label as keyword, in a narrower application, an identifier, for categorizing, describing and searching for data, setting the internal structure. Application examples: Markup language element ... ... Wikipedia

    tag- noun, number of synonyms: 3 descriptor (5) tag (2) label (25) ASIS synonym dictionary. V.N. Trishin ... Synonym dictionary

    Tag- p. in the Syktyvdinsky district. Named after r. Tagyu, right, a tributary of the Vychegda, near which is located: Komi tag "sera", yu "river". Tegyu "a river near which there are sulfur outlets." In this area, natural sulfur was previously mined for economic needs ... ... Toponymic Dictionary of the Komi Republic

    TEG- 3.1.45 tag: A service element that is placed at the beginning of a header and is stored with the data cannot be used as independent element... A source … Dictionary-reference book of terms of normative and technical documentation

    TEG- see Thermoelectric generator ... Big Encyclopedic Polytechnic Dictionary

    TEG- ... Wikipedia

    TEG- thermoelectric generator ... Dictionary of abbreviations of the Russian language

    protocol identifier tag- - [GOST R 54325 2011 (IEC / TS 61850 2: 2003)]] Topics relay protection EN tag protocol identifier TPID ... Technical translator's guide

    I-Tag-Yugan- Characteristic Length 35 km Basin Kara Sea Watercourse Mouth 33 km on the left bank of the Mogot Leim channel Posl Location ... Wikipedia

    Thermoelectric generator- (TEG) thermoelectric generator, a device for direct conversion of thermal energy into electrical energy, the principle of operation of which is based on the Seebeck effect (see. Thermoelectric phenomena). The TEG includes: thermopiles recruited from ... ... Great Soviet Encyclopedia

The HTML Abbreviation element( ) represents an abbreviation or acronym; the optional title attribute can provide an expansion or description for the abbreviation. If present, title must contain this full description and nothing else.

The source for this interactive example is stored in a GitHub repository. If you "d like to contribute to the interactive examples project, please clone https://github.com/mdn/interactive-examples and send us a pull request.

Accessibility concerns

Spelling out the acronym or abbreviation in full the first time it is used on a page is beneficial for helping people understand it, especially if the content is technical or industry jargon.

Example

JavaScript Object Notation ( Json) is a lightweight data-interchange format.

This is especially helpful for people who are unfamiliar with the terminology or concepts discussed in the content, people who are new to the language, and people with cognitive concerns.

Specifications

Specification Status Comment
HTML Living Standard
The definition of " "in that specification.
Living Standard
HTML5
The definition of " "in that specification.
Recommendation
HTML 4.01 Specification
The definition of " "in that specification.
Recommendation

Browser compatibility

The compatibility table in this page is generated from structured data. If you "d like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.

Update compatibility data on GitHub

DesktopMobile
ChromeEdgeFirefoxInternet Explorer OperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
abbrChrome Full support 2Edge Full support YesFirefox Full support 1

Notes

Full support 1

Notes

Notes Before Firefox 4, this element implemented the HTMLSpanElement interface instead of the standard HTMLElement interface.
IE Full support 7Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support Full support See implementation notes. See implementation notes.

See also

Let's turn our attention to the topic of abbreviations on web pages, or rather, the clarity of these abbreviations to readers. This article discusses the abbr and acronym tags and the nuances associated with them.

Attention!!! In the HTML5 spec, the element acronym has been declared completely deprecated and strongly recommended to be phased out. Instead, it is proposed to use the element abbr(updates as of 10.11.2011).

Dealing with terminalology

An abbreviation (Italian abbreviatura - abbreviation, from Latin abbrevio - I abbreviate) is an abbreviated form of a word or group of words used instead of a whole word or phrase. For example: WWW, HTTP, URI, abbr. etc. Acronym (Greek akros - high, onyma - name) is an abbreviation formed from parts of words of the original phrase (usually initial letters), pronounced as a single word, and not letter by letter, like other types of abbreviations. For example: modem, radar, or laser.

Abbreviations and acronyms should be understood by everyone and always

Quite often, we use various abbreviations, ranging from "zamkomomorde" and ending with "ASS" (this is not at all what you thought). But also, quite often, many people have no idea what these acronyms mean. Therefore, using any term that is an abbreviation or acronym, you need to give them explanations. Moreover, if you introduced the term at the beginning, having interpreted it, this does not mean that the person will not forget its meaning in 2 minutes; therefore, explanations should always be there.

HTML tags and

HTML 4 provides us with two logical formatting elements used to highlight abbreviations and acronyms - abbr and acronym, respectively. These tags have a title attribute that explains the term. Any normal browser, when hovering over such a term, will display a tooltip specified by the title attribute.

Example: WWW Modem

WWW Modem

Billy Who Doesn't Like W3C

IE (up to version 6) does not support ABBR tag(sorry to be so straight away, without preparation :-)

In the list of elements he knows, only the ACRONYM element is listed. But I'm sure this will be fixed in the seventh version of the browser.

Of course, you can give up and use the acronym tag instead of the abbr tag, but then do not be surprised if the user's voice agent pronounces the letter abbreviation URI, not letter by letter, but in one word, and you get the name Uri from X / F "Adventures of Electronics". But you can find a workaround, for example, insert a SPAN element inside ABBR:

CSS

And it is better to automate this process by performing inserts using a script, after loading the document and only for IE. And what is very important, there will be no need to change correct the original text of the document.

Hovering a CSS marafet

Since abbr and acronym are boolean formatting elements, browsers may display them differently on the page. For example, Mozilla Firefox and Opera display these elements with black underlining in the form of dots, Konqueror - italicizes, and IE does not visually emphasize (acronym).

Therefore, it does not hurt to set styles that would unify the display of these elements in different browsers.

For example, like this:

ABBR, ACRONYM (
border-bottom: 1px dotted # F04B2D;
cursor: help;
font-style: italic;

The code element is used to indicate computer code or programming language such as PHP, JavaScript, CSS, XML, etc. For short snippets within a sentence, you can simply place an element around the code snippet like this:

onclick directly in the HTML.

For larger code samples that span multiple lines, you can use preformatted blocks, as shown in Chapter 15, Marking Up Text Content in HTML.

Although there is no definite method of indicating which programming language or the code is shown in the code element, the class attribute can be used. A common practice (mentioned in the HTML 5 draft) is to use the language- prefix and then add the language name. Therefore, the example above will look like this:

It is bad form to use event handlers like onclick directly in the HTML.

Some programming languages ​​have names that are not easy to represent in classes, such as C # (C-sharp). The right way the record in this case will be "class =" language-c \ # "", which can create difficulties and lead to typos. I would recommend using a class with only letters and hyphens and writing it down in its entirety. Therefore, in this case, use "class =" language-csharp "" better.

Conclusion of interaction with the computer

Two elements samp and kbd can be used to input and output interactions with a computer program. For example:

One common method of determining if a computer is connected to the internet is to use the computer program ping to see if a computer likely to be running is reachable.

kittaghy% ping -o google.com
 PING google.com (64.233.187.99): 56 data bytes 64 bytes from 64.233.187.99: icmp_seq = 0 ttl = 242 time = 108.995 ms --- google.com ping statistics --- 1 packets transmitted, 1 packets received, 0  % packet loss round-trip min / avg / max / stddev = 108.995 / 108.995 / 108.995 / 0.000 ms

Element samp indicates a sample of the output from computer program... As shown in this example, Various types output can be specified using the class attribute. However, there is no widely accepted agreement on what kinds of classes to use.

The kbd element specifies the input for user-computer interaction. While this is traditionally keyboard input (hence the abbreviation "kbd"), it should also be used to indicate other types of input, such as voice input.

Variables

The var element is used to specify variables in text content. It can include algebraic mathematical expressions or it can be found in program code. For example:

The value of x in 3 x+ 2 = 14 is 4.

my $ welcome= "Hello world!";

Citation

The cite element is used to indicate where the adjacent content comes from - when citing a person, book, or other publication, or usually when referring people to another source, that source should be placed in the cite element. For example:

The saying Everything should be made as simple as possible, but not simpler is often attributed to Albert einstein, but it actually a paraphrasing of a quote which is much less easy to understand.

Element HTML abbreviations () is an abbreviation or abbreviation; the optional title attribute can provide an extension or description for the abbreviation. If present, title must contain this Full description and nothing else.

Article How to mark abbreviations and make them understandable- this is a tutorial on how to use and related items.

Attributes

This element only supports global attributes. The title attribute has a specific meaning when used with an element. ; he should contain a complete human-readable description or an extension of the abbreviation. This text is often displayed by browsers as a tooltip when the mouse hovers over an element.

Each element you use is independent of everyone else; providing a title for one does not automatically attach the same extension text to others with the same content text.

Usage Notes

Typical use cases

Of course, it is not required that all abbreviations be marked with ... However, there are a few cases where this is useful:

Grammatical considerations

In languages ​​with a grammatical number (that is, languages ​​where the number of elements affects the grammar of the sentence), use the same grammatical number in the title attribute as inside your element ... This is especially important in languages ​​with more than two numbers, such as Arabic, but also relevant in English.

Default style

The purpose of this element is purely for the convenience of the author, and all browsers render it inline (display: inline) by default, although its default style varies from one browser to the next:

  • Some browsers, such as Internet Explorer, do not build it differently than an element .
  • Opera, Firefox and a few others add a dashed line to the content of an element.
  • Several browsers not only add dotted underline, but also put it in small caps; to avoid this styling, adding something like font-variant: none in the CSS won't take care of this case.

Examples of

Marking an abbreviation semantically

To tag an abbreviation without providing an extension or description, simply use without any attributes as shown in this example.

Html

Using Html is fun and easy!

result

Conventional abbreviations

You can use CSS to set a custom style to be used for shortcuts, as seen in this simple example.

Html

Using CSS, you can style your abbreviations!

CSS

abbr (font-variant: all-small-caps;)

result

Enabling expansion

Adding the title attribute allows you to specify an extension or definition of an abbreviation or abbreviation.

Html

Ashok "s joke made me Lol big time.

result

Definition of an abbreviation

you can use in tandem with for a more formal definition of the abbreviation as shown here.

Html

Html is a markup language used to create the semantics and structure of a web page.

A Specification (spec) is a document that outlines in detail how a technology or API is intended to fun ction and how it is accessed.

result

Availability

Describing an abbreviation or abbreviation in full the first time it is used on a page helps people understand it, especially if the content is technical or industry jargon.

example

JavaScript Object Notation ( Json) is a lightweight data-interchange format.

This is especially useful for people who are not familiar with the terminology or concepts discussed in the content, people who are new to the language, and people with cognitive problems.

Specifications

Browser Compatibility

PeculiarityAndroid WebViewChrome for AndroidEdge mobileFirefox for AndroidAndroid operating systemiOS SafariSamsung Online Store
Basic supportYesYesYes 4 YesYesYes

1. Prior to Firefox 4, this element implemented the HTMLSpanElement interface instead of the standard HTMLElement interface.