473,405 Members | 2,310 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

what are title and dir attribute inside style tag for?

hi
i reviewed w3school site on http://www.w3schools.com/tags/tag_style.asp and in this page sayes we can use dir,lang, xml:lang and title attribute for style tag. I know meaning of this attribute seprately but i dont understand in style tag, what are they for?(and my most focus is on title and dir attribute)

thanks alot
May 30 '11 #1

✓ answered by Dormilich

dir, lang and xml:lang (in case of XHTML) are the internationalisation attributes (in short: i18n), since you can have language text in the style tag (e.g. comments)

the title attribute may be used by user agents (UA) to give that style section a display name (not necessary the HTML display though) (think of FireBug)


PS. HTML5 allows for 73 attributes (core, event-handler, xml)

7 2243
Brian Connelly
103 100+
Im not sure exactly, but the Title tag is an html property that is not seen through the browser. It gives the page a title and is used to allow the page to be searchable. Like I said Im not sure, Im new to this and this wass my understanding.
May 30 '11 #2
drhowarddrfine
7,435 Expert 4TB
Those attributes may be there to allow flexibility of the element in ways not known at the time.
May 31 '11 #3
Dormilich
8,658 Expert Mod 8TB
dir, lang and xml:lang (in case of XHTML) are the internationalisation attributes (in short: i18n), since you can have language text in the style tag (e.g. comments)

the title attribute may be used by user agents (UA) to give that style section a display name (not necessary the HTML display though) (think of FireBug)


PS. HTML5 allows for 73 attributes (core, event-handler, xml)
May 31 '11 #4
okay , I see but can title of style tag used by screen reader?
or screen reader can only read content of the body(content that is in body html document) and it can be used for writing purpose of respected css that is merely for maintaining code?
thanks alot for your help.
May 31 '11 #5
Dormilich
8,658 Expert Mod 8TB
screen readers can indeed use an element’s attributes (think of the alt attribute in <img> or WAI-ARIA)
May 31 '11 #6
are ideas about WAI-ARIA and applied that implemented in some famous browsers or now they're merely presented as a plan for future implementation?


thanks alot for your help
Sep 25 '11 #7
are ideas about WAI-ARIA and applied that implemented in some famous browsers or now they're merely presented as a plan for future implementation?


thanks alot for your help
Sep 25 '11 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Bura Tino | last post by:
Hi, Going forward, what's better to use <td height="20"> or <td style="height:20;">
1
by: Fabri | last post by:
I guess if it is possible to write a multiline title attribute natively with HTML + CSS. GMail does it and I don't know how. <div title="first linesecond line">My Div</div> Any help...
6
by: KS | last post by:
Is it possible to make the title attribute, which shows a text inside a postit, for a html tag get displayed forever when the coursor is over the html tag. I want the postit to be displayed until...
4
by: DU | last post by:
I am looking for opinions on the issue of length of title attribute. First of all, the current HTML 4.01 spec is rather vague on this issue... at least, it isn't explicit nor normative. The HTML...
1
by: david | last post by:
I need put some html code into title attribute of A tag, so that user could see html when they move mouse over the link, I think this isn't a standard use, but it does work. The problem is how can...
1
by: kgmahoney | last post by:
in v2 of asp.net when I do a: <asp:hyperlink id="hl1" runat="server" tooltip="xyz" ... it doesn't render as a title attribute of a <a ... tag in firefox even if I do a: <a id="hl1"...
2
by: keith | last post by:
In an MSDN article on high quality design principles combined with standards driven code, Microsoft states: that the image title attribute should display when users roll over the image and that...
5
by: dmorand | last post by:
How do you add a title attribute to a coldfusion input element? I tried adding title attributes on my cfinput's but they are being erased. How am I supposed to do this?
2
binidj
by: binidj | last post by:
On a site I'm writing at the moment, I am using the <abbr> tag to expand on some acronyms (I'd use the <acronym> tag but I understand that's not really legitimate any more) within the body of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.