Атрибуты HTML: виды и применение. HTML-справочник

Hypertext Markup Language H TML has a wide selection of tags to give the site a nice look. Over time, a novice web designer understands that simply marking up the text is not enough. Among modern web pages come across real works of art. Web site wizards play with text fonts, sizes, and location of elements as they want. It is HTML attributes that allow you to assign specific properties to tags, complement and modify their contents.

Attributes

. — , . — , «=» . HTML . , . -.

HTML attributes




. . .

HTML

, . , , , . — Align, right, left center. , . Valign , . top, bottom middle. bgcolor, . , RGB. , background.

HTML reference








, . title, . , . id . CSS class, . , width, - height. , .

HTML

, HTML-. , lang. -. , ? - . , - “...”, «...». lang , . xml:lang , XHTML.

HTML tags and attributes




, . - title. <html>, XHTML. xmlns. http://www.w3.org/1999/xhtml. .





CSS

HTML CSS. font-family. , - . — . font-style. . — normal (), italic () oblique (). font-variant. . font-variantnormal small-caps.

global attributes




font-weight . normal, . lighter,bold. bolder. . 100 — , 900 — . font-size . (pt), (px) (%). , normal.

, . line-height. , , . normal. , . text-decoration. none, . Underline , overline – . blink , line-through .

text-transform. capitalize, . uppercase , lowercase, , . , none. text-indent. . Text-align — , . — left, right, center, justify. , HTML-.

HTML

If you decide to master the art of creating web pages, you will have to remember a lot of tags. HTML attributes are just as important as it’s impossible to create a site without them. Skillful use of these language components will allow you to create decent web pages.

global attributes




Some tags have their own unique attributes, which are difficult and inappropriate to remember. Therefore, even experienced web designers have an HTML reference handy. There is nothing wrong with this, because you never know which tag or attribute you need today. However, it is advisable to remember global attributes that can be applied to most existing elements. To consolidate the material, try to put the acquired knowledge into practice. Master the HTML language , and it will bring you a lot of positive emotions, as well as a solid income.




All Articles