Tuesday, January 14, 2014

In previous lessons mentioned that tags are characterized by attributes. However, you should know w


In previous lessons mentioned that tags are characterized by attributes. However, you should know who what tag attributes cool fonts available to it. As various appliances (refrigerators, air conditioners, stoves, etc.) have the make, model, energy class and other common characteristics, there are several attributes that are valid for all HTML tags. On the other hand, the air conditioning cool fonts can not say that they have the capacity, unlike refrigerators. By the same token some HTML tags are characterized by individual attributes.
Bases include id, class, style and title. ID is an attribute whose value (if set - no one is forcing you to set the ID of each item) must be unique on the page. This attribute is used to pinpoint an item which in poseledstvie through CSS we can ask certain style, or to select our via JavaScript. CLASS is an attribute which again we can use to determine the elements that easily cool fonts add style in CSS, or we could easily selected with JS in HTML5 (or in older versions of HTML, but if you use a JS library such as jQuery, to do all the hard work for us). Classes, unlike ID-th allow to use many times on one page.
Title attribute is used primarily for accessibility elements (use of robots or programs that read the HTML), the only thing that appreciable screen is that if you hold the mouse over the element title attribute, then after a couple seconds show some tooltip, containing the text of the title attribute.
Style is an attribute which I personally encourage you not to use. By itself, this attribute allows you to declare CSS styles for a given element in HTML-a. The best that we can do in a real project cool fonts is to pay structure and informationof our page in HTML-old, but the appearance is declared using CSS in a separate file. This allows for much easier cool fonts maintenance. Style attribute cool fonts can be used only in some small example / demo pages of small functionality, which held the convenience to easily track which styles which elements relate, without having to walk back and forth in different files.
Linguistic attributes dir and lang (in xHTML lang is xml: lang). DIR determines the direction of the reading of the text - from left to right or right to left (Arabic). HTML write a page of 6 years and only a month ago I had to make a page in which there were Arabic, that I need to use this attribute - frankly by then I was not even sure if any of these attributes can ask all tags or only for html elements. This attribute is special in that there are only two valid values - ltr (left-to-right - from left to right) and rtl (right-to-left cool fonts - right-left). Any other value will simply be ignored by the browser and make your code invalid.
Other language attribute - lang - also has a few (but more) predefined values. It should be set to the language code that is contained in the element. For this is the Bulgarian bg, for English is en, etc. The meaning cool fonts of this tag is to support search engine cool fonts robots and programs that read the code could be used for more specific styles, some JS functionality.
In general it is better to ask both linguistic attribute more <html> tag with which they are automatically inherited by all internal parts. The value of dir is the default direction in which we read, so it is almost superfluous to ask, but lang is a good parameter, which indicates that our site is for a particular geographic area, and even on Google Chrome (for example) will it is easier to determine the site of what language is and if it is different from the basis on which we set to work browser to offer to translate it automatically (I think that other browsers do not currently have built similar cool fonts functionality, so give example of Chrome, and not only want to make his ad, but his is the best browser).
Tabindex allows us to specify the order in which elements will receive cool fonts focus when users press the tab key on the keyboard. In general not all elements can receive focus. cool fonts Even if you have not changed the focus will have links (<a>) elements and forms (<input>, <select>, <button>, for which we have not talked, cool fonts but no you need if you do not know server-side programming, to which we may reach a sunny day). However, if you ask tabindex another element, it automatically gets a focus. If you ask for a value of 0 tabindex, then the element gets default value, which is simply cool fonts the serial number of the item that can have focus. Tabindex = 0 is used to give an opportunity to focus on certain elements

No comments:

Post a Comment