HTML - Xhtml Advantages
What are the main advantages of using XHTML.. why to prefer for XHTML.. any good idea.. please welcome..
Similar TutorialsWhich one is better? XHTML STRICT 1.0 or XHTML 1.1 Tell me..... Hi. I *hate* I.E. I'm usually browsing websites in Google Chrome - & sometimes Mozilla / Opera. Ive designed a website (not public as yet), & it does validate for XHTML - it looks perfect on Opera / Mozilla & Chrome. But IE messes it up. Basically it uses Divs, & has a left menu, & the main content is a Google map. Also, top menu / banner & a footer at the bottom.. on IE7, the google map is UNDER the list of cities etc (left menu), instead of in the middle / right of the left menu.. Can anyone advise a website listing common IE problems & how web designers can fix it.. so xhtml elements should always be in lowercase how does this extend to the case in css. for example if im using a xhtml doctype should i be using lower case color values like color:#ffffff vs color:#FFFFFF. I know as per a hexidecimal value "ffffff" is the same as "FFFFFF" and the same as "fFfFfF". they are all equal to the same value so it really doesn't matter but does the xhtml doctype dictate that these values should be in lowercase? hi and goodafternoon i run wapsites and i want to convert the wml scripts to xhtml all my scripts are php based which i know will work in xhtml too. i also use mysql coding for database side of things . here is one of my smaller scripts . <?php <wml> <card title="sitename"> <p align="center"> <img src="logo.gif" alt="logo"/><br/> Welcome!!<br/><br/><a href="login.php"><img src="login.gif" alt="Login"/></a><br/><a href="terms.php"><img src="register.gif" alt="Register"/></a><br/> <br/> <big><b><a href="terms.php">Terms of use!</a></b></big> <br/> You are here with<br/> END; print 'Browser:'; $browser = explode ('/', $HTTP_USER_AGENT); print $browser[0]; print '<br/>'; print "IP-Adress: $REMOTE_ADDR<br/>\n"; print <<<END ---<br/> </p> </card> </wml> END; ?> how would i convert that to xhtml . and if its just a case of changing the tags then would it work on the rest of the scripts with sql coding in too . nclemale@hotmail.com or post your replies here thanks in advance Please anybody tell me about the XHTML. I'm pretty new to XHTML and I see that to properly close a br tag (and others), you usually put a space, then a slash, then a closing chevron, a la <br />. But I was wondering if there is anything fundamentally wrong with eliminating the space before the slash. It seems to work in my browser either way, and I think it makes the code a little easier to read and type. Thanks! hello friends , I want to know that what is what is XHTML ? plz anybody help me . I want to know about this . Thankx ==== what is xhtml? I am reading about XHTML now and noticed that it is really no different than HTML. The only difference(s) are, correct me if I'm wrong, that XHTML is more strict with the rules. Lowered-cased letters, properly closed tags, etc, all that mumbo jumbo. If I'm already doing that with HTML, must I need to worry about XHTML? What is the difference between HTML and XHTML? What are the benefits and is it worth learning? Thanx 4 the help! can make dynamic website in xhtml I can't get one of my pages to validate in xhtml, it seems to be the <embed> part which is causing the problems. Here is a link to the page: http://www.a104mc.connwarwicker.co.uk/music.html And here is the section which is causing most of the errors: HTML Code: function playSound(s){ var f = playList[s]; var t = songNames[s]; $('connsplayground').innerHTML = ""; $('connsplayground').innerHTML = "<embed src='http://www.a104mc.connwarwicker.co.uk/sounds/"+f+"' hidden='true' style='width:0px;height:0px;' autostart='true' loop='true' />"; $('songtitle').innerHTML = t; currentSong = s; alterText(); } With such errors as: there is no attribute "src". there is no attribute "hidden" there is no attribute "style" there is no attribute "autostart". etc... I'm using this doc type: HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Any idea as to how i can fix these errors? I've tried using an <object> instead, but that didn't seem to work very well at all. I'm not sure but I think I want to try to migrate to XHTML 2.0. Does anyone know of any analytical tools that look at your existing HTML code and tell you what is not compliant with that standard, making specific recommendations on how to make it compliant? Given how much content I have to update, doing this by hand is out of the question. I need to write a program to parse my files and generate new copies for me. _________________ uk bad credit home mortgage bad credit mortgage Hello everyone. I'm conducting this little experiment for my 3rd year dissertsation project and I need people who know XHTML/CSS to do it. It's online at msin9001.exofire.net and it takes about 30minutes. Note it works best in Mozilla Firefox and - because of my server - may run a little slow at times. If you've got time and a good heart, the contribution would be much appreciated. Thanks alot! Shanba PS If it crashes, try REFRESH not BACK as I'm using PHP postdata. Hi there i would like to create a 3D list of website links, like whats in the middle of this page: http://www.tamberlow.com/ Is this possible using HTML/XHTML/JavaScript If yes, please could some1 point me in the right direction on how to go about this Thanks, jackie xxx I'm not sure but I think I want to try to migrate to XHTML 2.0. Does anyone know of any analytical tools that look at your existing HTML code and tell you what is not compliant with that standard, making specific recommendations on how to make it compliant? Given how much content I have to update, doing this by hand is out of the question. I need to write a program to parse my files and generate new copies for me. ........................ Can any one direct me to a tutorial on coding xhtml editable templates. ( or give me advice) I used to use dreamweaver to build templates but I haven't bothered to up date it instead I am using HTML-kit. What I liked about dreamweaver was that you could build a template and apply it to every page so you only had to alter the template not every page. I am fine using css for style. its building a template for the repeating elements of each page like links etc and then adding editable regions. I would would like the freedom to build my own rather than use pre made ones. Thanks Hello all, I'm having some minor problems in terms of getting my website validated as XHTML, and although I do understand the errors, I don't really understand what the option will be. I guess most of the errors are caused by my flash header that is embeded at the top.. Page in question: http://multitec.php5.sysedata.no/wordpress/ Validation output: http://validator.w3.org/check?uri=ht...Inline&group=0 Hope anyone can help me clarify this. This past week the W3C announced the publication of a working draft of RDFa in XHTML: Syntax and Processing in their Semantic Web Activity News Weblog which includes an RSS feed. I include a Semantic Web/RDF Overview/Reference compilation via the link in my signature block. James |