473,699 Members | 2,734 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

what are title and dir attribute inside style tag for?

64 New Member
hi
i reviewed w3school site on http://www.w3schools.c om/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
7 2248
Brian Connelly
103 New Member
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 Recognized Expert Expert
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 Recognized Expert Moderator Expert
dir, lang and xml:lang (in case of XHTML) are the internationalis ation 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
sedigh mohseni
64 New Member
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 Recognized Expert Moderator Expert
screen readers can indeed use an element’s attributes (think of the alt attribute in <img> or WAI-ARIA)
May 31 '11 #6
sedigh mohseni
64 New Member
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
sedigh mohseni
64 New Member
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
2686
by: Bura Tino | last post by:
Hi, Going forward, what's better to use <td height="20"> or <td style="height:20;">
1
2506
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 appreciated. Regards.
6
1439
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 cursor moves away from the html tag? If it not possible to controll the title attribute, any other solution that makes the same result? KS
4
15399
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 4.01 spec and WAI mention "short message", "short description", "advisory title", "informative link title" for the title attribute. Personally, I think that having a more than 128 characters tooltip does not meet the original goals of the HTML...
1
1414
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 I prevent the xsl transfer the html when it does the transformation. I would like something like <A title="<b>test</b>"> but I end up with <A title="&lt;b&gt;test&lt;/b&gt;"> Any idea? Thanks!
1
1645
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" runat="server" title="xyz"... it takes out the title attribute before rendering it in firefox, but leaves it in for IE
2
9613
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 Non-visual browsers will read this text to people who are blind. In my attempts to implement this I have found that the ASP.Img control does not have an attribute for title. It is necessary to use the ASP:IMG control instead of the html img tag in...
5
3786
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
2430
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 text. While Internet Explorer and Opera both correctly display the "title" attribute of the <abbr> tag as a pop up on mouseOver, it is only visible in Firefox through the use of the "Properties" right-click option. Is Firefox behaving as designed?...
0
8612
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9171
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9032
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
6532
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4373
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4625
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2342
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.