BluePink BluePink
XHost
Oferim servicii de instalare, configurare si monitorizare servere linux (router, firewall, dns, web, email, baze de date, aplicatii, server de backup, domain controller, share de retea) de la 50 eur / instalare. Pentru detalii accesati site-ul BluePink.

above banner

banner website
under banner
home html css references contact
HOMEspace above menu HTMLCSSREFERENCES CONTACT
head of content;
monitors
under monitor image space
folder icon space between sign and sugestion Lessons

HTML Attributes

Attributes give an extra data regarding HTML elements
HTML element can contain Attributes
Attributes are always specified in the opening tag.
Attributes are available pair written like name="value"
The most common style are double quotes however single quotes style are also allowed.
Note Tip:When the attribute value itself contains quote in some rare situation,it's necesary to use single  quotes:name='Florin "the winner" Bacu'
HTML tip:use Attributes name that are written in lowercase.
Attributes name and attributes values are case-insensitive
However the World Wide Web

Core Attributes

.In addition to element-type-specific attributes (such like the cite attribute used for blockquotes), the subsequent core attributes can also be applied across almost the entire vary of HML elements, with some exceptions wherever it's not relevant to the contents of that element.For instance the title attribute could also be used on all elements contained within the body of a document (and will be applied to the body element itself) however isn't relevant to the mass of elements found within the head of the document, e.g. base, script and (perhaps not surprisingly) the title elements. Similarly, dir may be a core attribute used for specifying the reading direction of text and is thus not valid for elements  like application program, br, or param.
(W3C) recommends attributes/attribute values written in lowercase in their HTML4 recomandation.
Newer version of (X)HTML lowercase attributes will be demand.

HTML Global Attributes([5])

Attribute Description
accesskey Specifies a shortcut key to activate/focus an element
class Specifies one or more classnames for an element (refers to a class in a style sheet)
HTML5contenteditable Specifies whether the content of an element is editable or not
HTML5contextmenu Specifies a context menu for an element. The context menu appears when a user right-clicks on the element
HTML5data-* Used to store custom data private to the page or application
dir Specifies the text direction for the content in an element
HTML5draggable Specifies whether an element is draggable or not
HTML5dropzone Specifies whether the dragged data is copied, moved, or linked, when dropped
HTML5hidden Specifies that an element is not yet, or is no longer, relevant
id Specifies a unique id for an element
lang Specifies the language of the element's content
HTML5spellcheck Specifies whether the element is to have its spelling and grammar checked or not
style Specifies an inline CSS style for an element
tabindex Specifies the tabbing order of an element
title Specifies extra information about an element
HTML5translate Specifies whether the content of an element should be translated or not


prev next

In this Section


prev next
Biblography
  1. www.wikipedia.org
  2. http://www.tutorialspoint.com/html/html_attributes.htm
  3. Girl Develop It Cincinnati: Intro to HTML/CSS Class 1 link http://www.slideshare.net/emkidwell/girl-develop-it-cincinnati-intro-to-htmlcss-class-1
  4. http://reference.sitepoint.com/html/core-attributes
  5. http://www.w3schools.com/tags/ref_standardattributes.asp




Introduction
Elements
Attributes Page content
Head
Tables
Forms
Colors

like hr2
end site bar

Copyright 2014 Florin Bacu | All Rights Reserved

home  contact


under copyright