Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-29-2008, 11:23 AM
gaurav_ch
 
Posts: n/a
xhtml tags and attributes

Hi,

I was going through some xhtml reference text and found that there are many
attributes to xhtml tags that i did not knew of. There were many tags which I
never used. For eg., <big></big> and some attributes like <select
dir=""></select>.

What I want to know is that - do I really need to learn each and every
attribute of an xhtml element or each and every tag that xhtml throws at me,
from the point of interview or is it sufficient to know those attributes and
elements which make me make accessible websites and validated markup?

What do you all suggest?

Gaurav
http://www.gauravchandra.info

Reply With Quote
  #2 (permalink)  
Old 07-29-2008, 03:07 PM
Murray *ACE*
 
Posts: n/a
Re: xhtml tags and attributes

XHTML is built on HTML. As far as I know the tag set is the same. If you
look here, you will not see an index item for "new tags" -

http://www.w3.org/TR/xhtml1/

<big> was part of HTML3.2.

There is no dir attribute for the <select> tag.

http://www.w3.org/TR/html401/interact/forms.html#h-17.6

> What do you all suggest?


Validating the page?

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"gaurav_ch" <webforumsuser@macromedia.com> wrote in message
news:g6mr3h$eep$1@forums.macromedia.com...
> Hi,
>
> I was going through some xhtml reference text and found that there are
> many
> attributes to xhtml tags that i did not knew of. There were many tags
> which I
> never used. For eg., <big></big> and some attributes like <select
> dir=""></select>.
>
> What I want to know is that - do I really need to learn each and every
> attribute of an xhtml element or each and every tag that xhtml throws at
> me,
> from the point of interview or is it sufficient to know those attributes
> and
> elements which make me make accessible websites and validated markup?
>
> What do you all suggest?
>
> Gaurav
> http://www.gauravchandra.info
>


Reply With Quote
  #3 (permalink)  
Old 07-29-2008, 04:10 PM
Michael Fesser
 
Posts: n/a
Re: xhtml tags and attributes

..oO(gaurav_ch)

> I was going through some xhtml reference text and found that there are many
>attributes to xhtml tags that i did not knew of. There were many tags which I
>never used. For eg., <big></big> and some attributes like <select
>dir=""></select>.
>
> What I want to know is that - do I really need to learn each and every
>attribute of an xhtml element or each and every tag that xhtml throws at me,
>from the point of interview or is it sufficient to know those attributes and
>elements which make me make accessible websites and validated markup?


XHTML 1.0 is the same as HTML 4.01, just with stricter syntax rules.
The supported elements and attributes are almost the same (there are
some small differences, though, but in practice they won't matter much).

> What do you all suggest?


Unless you have a very good reason to use XHTML, you should stay with
HTML 4.01 Strict. Real XHTML doesn't work in the WWW yet, simply because
Internet Explorer doesn't support it. You would have to write your XHTML
in an HTML-compatible way and deliver it as HTML, so that IE will treat
and render it as HTML ... pretty pointless. Real XHTML would just cause
a download dialog in current IEs.

Suggestion: Write proper and reasonable HTML 4.01 Strict, validate your
markup/CSS and all will be happy.

Micha
Reply With Quote
  #4 (permalink)  
Old 07-29-2008, 04:50 PM
gaurav_ch
 
Posts: n/a
Re: xhtml tags and attributes

Hi,

Thank you all for replying. @Murray - Yes, you are right. There is no
attribute "dir" for select tag. I read it in a book so I got confused and asked.

@Michael Fesser - If IE does not support XHTML, this means that it is
rendering it as HTML inspite of the XHTML DOCTYPE used in making pages? OMG!!!
I really hate Microsoft for this. Thanks for telling me this. I never knew that.

Still my question is unanswered - do I really need to learn each and every
attribute of an xhtml element or each and every tag that xhtml throws at me,
from the point of interview or is it sufficient to know those attributes and
elements which make me make accessible websites and validated markup?

Gaurav

Reply With Quote
  #5 (permalink)  
Old 07-29-2008, 05:03 PM
Murray *ACE*
 
Posts: n/a
Re: xhtml tags and attributes

> Still my question is unanswered - do I really need to learn each and every
> attribute of an xhtml element or each and every tag that xhtml throws at
> me,


Has has already been said, XHTML is HTML with stricter tag syntax. If you
know HTML (and to know HTML you should be familiar with ALL the tags), then
you will be fine in XHTML (tag-wise, at least).


--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"gaurav_ch" <webforumsuser@macromedia.com> wrote in message
news:g6ne7o$5m2$1@forums.macromedia.com...
> Hi,
>
> Thank you all for replying. @Murray - Yes, you are right. There is no
> attribute "dir" for select tag. I read it in a book so I got confused and
> asked.
>
> @Michael Fesser - If IE does not support XHTML, this means that it is
> rendering it as HTML inspite of the XHTML DOCTYPE used in making pages?
> OMG!!!
> I really hate Microsoft for this. Thanks for telling me this. I never knew
> that.
>
> Still my question is unanswered - do I really need to learn each and every
> attribute of an xhtml element or each and every tag that xhtml throws at
> me,
> from the point of interview or is it sufficient to know those attributes
> and
> elements which make me make accessible websites and validated markup?
>
> Gaurav
>


Reply With Quote
  #6 (permalink)  
Old 07-29-2008, 05:27 PM
Michael Fesser
 
Posts: n/a
Re: xhtml tags and attributes

..oO(gaurav_ch)

> @Michael Fesser - If IE does not support XHTML, this means that it is
>rendering it as HTML inspite of the XHTML DOCTYPE used in making pages? OMG!!!
>I really hate Microsoft for this. Thanks for telling me this. I never knew that.


Exactly. IE accepts XHTML only if the server delivers it as text/html.
But then it's not really XHTML anymore.

Real XHTML should be delivered as application/xhtml+xml, which would let
modern browsers like Opera and FF use their XML parsers instead of the
old and bloated tagsoup parsers, but until now IE doesn't support this.
Not sure about the coming IE 8, though.

>Still my question is unanswered - do I really need to learn each and every
>attribute of an xhtml element or each and every tag that xhtml throws at me,
>from the point of interview or is it sufficient to know those attributes and
>elements which make me make accessible websites and validated markup?


You should know at least most of the elements and attributes, so that
you can use them where appropriate. Same for CSS and its properties. Of
course you can't (and don't have to) remember them all. That's where a
quick reference guide or a "cheat sheet" comes in handy.

In my Opera browser for example I have these pages as sidebar panels for
a quick lookup (should also work in FF):

http://people.opera.com/rijk/panels/...line/elem.html
http://people.opera.com/rijk/panels/...op-visual.html

Here are some more panels with previews:

http://people.opera.com/rijk/panels/

You also might find some of these cheat sheets quite useful:

http://www.addedbytes.com/cheat-sheets/

Micha
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 06:54 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Refinance | Loans | Credit Cards UK | Credit Cards | Mobile Phone



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114