HTML - Conecting To Access Db With Xhtml
Is it possable to conect to a db without serverside script? My website is in asp but I would like to rebuild it. Is there a way to connect using xhtml. The one thing I really like is every part of my website is dependent on my db. That makes it really easy to admin but makes it stuck on one layout unless I rewite the whole site. Even java script would do. I want a site that gets away from asp and/or php but I am reluctent to give up my db.
Similar TutorialsWhich one is better? XHTML STRICT 1.0 or XHTML 1.1 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? What is the difference between HTML and XHTML? What are the benefits and is it worth learning? Thanx 4 the help! 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? Tell me..... can make dynamic website in xhtml Please anybody tell me about the XHTML. 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.. hello friends , I want to know that what is what is XHTML ? plz anybody help me . I want to know about this . Thankx ==== 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 what is 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! Everybody knows that HTML is very useful language for a site development and i have a knowledge about HTML language but i don't have no knowledge about XHTML. So what is the different between HTML and XHTML? If you know than please reply me. Hi I'm a bit new to the xhtml thing, but I need to create a small table with valid xhtml code. It just needs to have 8 cells inside it with a picture in each cell with a caption. Can anyone send me some basic code to help me set this up? I think i can do it in html, but have no clue when it comes to xhtml. Thanks!! What are the main advantages of using XHTML.. why to prefer for XHTML.. any good idea.. please welcome.. Ok, so I've been struggling trying to get this to validate successfully. Getting the following errors in this image - http://gyazo.com/54aa5ddb894be0204cc2b7a41c7d2176 Here is the code (linked to an external CSS): Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Chapter 3</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <!--embedded styles--> <style type="text/css"> h1{background-color:#eaeaea; color:#000033;} </style> <!--link style sheet--> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <!--Alex Knipfer--> <body> <!--inline style--> <p style="background-color:red; color:white"> This is the paragraph which the background is configured as red and the text is white. (Number 1 Page 107) </p> <h1>Number 2: (Embedded Style)</h1> <p>This text if brown and Verdana Sans-Serif because of the external style sheet that this page is linked to.</p> </body> </html> Thanks, help much appreciated. hello, do you know some free CMS written in XHTML? I found http://opensolution.org/?p=Quick.Cms but it uses flat files database and I'm not sure if it will work good. Do you have some experience using Quick.Cms ? or have some other CMS written in xhtml? ...and/or vice-versa, anyone? I have a client with a print publication, he does absolutely everything in InDesign including sticky notes and Sunday barbeque. I sold him on a website and found myself taking his classified ads each week and tediously transforming them to def list items. I should mention that client likes the way he does things and i don't want to upset his workflow. In fact i'm hoping to help him automate it to some extent. I don't need links to PDFs b/c i have every one of them on the subject. Unfortunately i go to sleep about halfway thru the more arcane InDesign details and i just can't seem to get a complete concept what needs done here. The classifieds are currently in their own template, in precisely defined columns which he can copy/paste into his final edition. I've figured out how to tag the elements to make for a sensible XML document, but i have not figured out what the InDesign equivalent of a stylesheet might be. More importantly, i haven't figured out which way the data should flow, i.e. from database to client or vice-versa. The latter is probably preferable, if i can give client a tagged template into which he can type his ads as he's accustomed. ...and i think i'll leave it at that and give more details if there's anyone around here who knows this stuff. I've been to the Adobe forums but they want me to RTFM. Which i have done, to an extent, but it's one of those situations where i'm not sure where to direct my attention given the time i have in which i have to do so. IOW i need a broad understanding of what can and can't be done, in order to know from which direction to go at it, in order to know where to focus my attention. Thanks, Ok i have this one error and ive deleted the entire line but it repeats the same error again because the link below it has the same error aswel.. Not sure what the error is.. Any ideas please? CLICK HERE TO SEE THE XHTML VALIDATION ERROR Ive pasted the error below aswel.. # Error Line 61 column 96: there is no attribute "target". ...l_2_briefs/IND382_brief.html" target="_blank">IND382</a><br /> You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead). This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information. How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash. Is there an equivalent attribute to "tabstop" in XHTML 1.0 Transitional? More specifically, I have the following code: Code: <input name="field1" type="text" /> <a href="/help.htm#_Toc143324793" type="text" target="help_window" tabstop="no" title="click here for additional help with this feature"></a> <input name="field2" /> Under HTML, the tabstop="no" would mean that the if the user was sitting in field1 and hit the tab key, it would skip over the help link and jump into the field2 field. I'm looking for this same behavior under XHTML 1.0. Thanks in advance, Darren |