HTML - Xhtml Homework Help Please
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. Similar TutorialsHello, i am making a website for my computer class and i want some good nodpad table tags, file:///C:/Users/owner/Music/New%20Folder/page1.html Tell me if that site works if not then later today i will upload it here. I amlost done with the site. I have a quick question. I am taking a web programming class and I have my homework mostly done...EXCEPT...I can't get the labels on my checkboxes to show up...can anybody help me?? Here is the code I have written for the check boxes. Adoption:<input type="checkbox" name="Adoption" label="Required" value="Required"></input> <input type="checkbox" name="Adoption" label="Suggested"value="Suggested"></input> Any help?? Or can you at least point me in a direction so I can figure it out?? Thanks!! Mitch Look at this code: <b><br>ChildLink</br></b></address> <address>1443 Cortnic Drive</address> <address>Las Cruces NM 88001</address> <address>505-555-2371</address></h1> I am using this code, style="text-align:right"> but where do I place it because it is not working. I tried putting it before the <address> after what am i doing wrong? also the bold that i want the childlink to be is not working either please somebody help Hey, I would like some help please. I need to add links to an image. The image is the highlighted silver bar in the screenshot. Everytime I make navigations i always put the text on template in photoshop but for this one i decided to put text over the top of the background image. How would i do this because everytime I set the <td> to have the background as the image so i can put text over the top, it just disapears. Also from previous experience html formats text so its single spaced, so how would i seperate the links out? I hope you undertstand me. The screemshot is attached below thanks. Part of my Dida(double i.t) course i have to make a eportfolio. It needs to be handed in this week and i am having trouble with coding my layout. I cant code layoutswith css so all im doing is pyling tables top of each other . The problem is that there gaps between each <tr>(row). How could i get rid of these gaps? The screen shot of my code and layout is attached thanks Which 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 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 ==== 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.. 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? 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 can make dynamic website in xhtml Please anybody tell me about the XHTML. Tell me..... 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. easy learn html or xhtml? Regards, Ashok. What are the main advantages of using XHTML.. why to prefer for XHTML.. any good idea.. please welcome.. |