HTML - General Question - Xhtml Or Html
hi im a newbie in this forum and i would like to know 2 things
can someone explain what is the different between this 2 code: this code normally appear on the top or the first line on html code ( before <html> tag ) THIS: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" > AND: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> what is the advantage or disadvantage between both. will it make any different for users or search engine? thanks Similar TutorialsHi there, I am currently working on a XHTML and HTML computer assignment. The problem I have is I ve written the codes on notepad saved it, and when I refresh on Browser view there is no change. I am sure that the codes are right and im sure i am refreshing it from the right view. Any suggestions?! Thank you! Hi guys. I'm working on a website, using ASP.NET. I'd just like to find out if there is anything specific that all websites should have, i.e. an about page with information about the owner and author of the site. Anyone have some advice? Hey, I have my own website. I thought it was all looking fine but I use mozilla firefox, so I tested my website out on Internet Explorer 7 and found some errors. I have sorted them all out apart from one. I have a table with 3 rows, I need the first and third to be about 15px wide and the middle to be the rest of the page. I can do this but when I set the table border to 1 it all looks fine. I set the table border to 0 and it all squeezes in to be about 100px in width. What I need to know is there a way to keep the border but make it invisible if you know what I mean, not setting the border to 0 but to keep it at 1 but making it not visible. Or of course any other way. Thanks in advance. Tom. Ok, please bare with me because I know I probably sound really stupid. I have bought a domain at freewebs.com, and I am pretty good at making graphics so I figures making a website wouldn't be that hard....well I was wrong. Anyways I am making the layout, but how do I code that into actually becoming the main page? And then once I do that how am I suppsoed to edit it to do news updates etc? I'm so lost it's ridiculous. Any help is appreciated! Tyler well not really sure if it would be html or more in the lines of css but 1st just wanna say sorry for brining up myspace again but is there a way to hide the comments from the page source as well as just the actual page that's viewed? Hello Everyone I am just laying hands on conversion of a PSD file to XHTML/CSS.Can I achieve this without using any of the paid softwares and if so what are they? Is there a complete lucid tutorial for the same? (PSD to XHTML conversion) Thanks I get this error with this code: Attribute "allowtransparency" must be declared for element type "iframe". Code is: <iframe src="http://www.facebook.com/plugins/like.php?href=http://www.vibrantscent.com/" scrolling="no" frameborder="0" style="height: 62px; width:100%" allowtransparency="true"></iframe> Question does anyone know what the correct code would be? Thanks Hello all, Just wondering how I can implement Javascript in my Blog template? 1.) Is it possible with XHTML? 2.) There is a source file as well, will I need to host that, too? 3.) Or is there a way to avoid Javascript for what I am doing: I am making a javascript (Spry Menu Bar) with Adobe Dreamweaver CS3 since I have no experience with JS. Is there a way to make a Spry Menu Bar without JS? (possible HTML or XHTML (that Blogger can support)? EX: Code: Home | Link | Link2 -sub--sub -sub4 --sub -sub5 -sub2 -sub6 -sub3 Thanks in advance, take care all! Hello - this may be a really quick question as I am newer to xhtml. Here's my question: On the following page, when I try to validate my code, I'm getting 2 errors - first - "there is no attribute "background-image" for the following code: <p><table background-image="SMwhite_flower.jpg" id="flower" alt="picture of a white flower"> For the above code, I also get the error, "there is no attribute "alt". But, when I remove "alt", I get an error that it's missing. Here's my doctype - maybe that's the problem? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> I'm wondering if, using xhtml, I would have to put the table background image in my stylesheet? Any and all help is greatly appreciated If you need to see more of the code or the whole page, please let me know. Thanks! So many of you have tried to help me with my website http://webtvdeluxe.com/home.php . Someone was kind enough to make a css version of it with no tables. However, I couldn't get the newsboard to work with it because of the difference in coding. So I started from square one and decided to try xhtml because it is not much different from html and I'm trying to get my webpage xhtml strict validated. Have one problem I can't figure out. If you look at my page, some of the images are broken away from the tables. In transitional mode, my page looks fine. But in strict mode it does that. I know you can't use the align attribute in strict so that why I attempted to make the td and table values in CSS instead. I put every value I could think of and none of them are working. Anyone know how to fix this? I know that I have been a pain because I've been asking a lot of questions. I really do appreciate all the help that you all have been giving me. It's probably something silly but I guess I'm too frustrated to figure out what it is. hey guys, i'm faily new to html, i only have one semester of html so far. i am doing my final project for my html class and i was wondering if anyone could help me out with this. the spaces underneath my images in my table... they weren't there before i made the page xhtml complaint, but as soon as i added the doctype in, they popped up, can anyone help me fix this? I checked over all the tags, and everything seems to be closed off properly. thanks a lot. Had the w3c recommendations ever demanded capitalized tags? XTHML or HTML? Hi, I have checked my website in w3c validator. It shows 111 errors but same kind of errors repeated. My website is http://www.neutralenglish.com Error link of my site is http://validator.w3.org/check?uri=ww...ralenglish.com Give some tips and suggestion and steps or corrections to get rid of those errors. Please help me ! ---------------------------------- I read somewhere that HTML 4.00/1 has been "replaced" by XHTML (which I assume is XHTML 1.0). Is this true? Should we be switching to XHTML 1.0 ? easy learn html or xhtml? Regards, Ashok. 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 am a relative novice, so I'd appreciate help please - I have searched the web and other forums, but most answers are too complicated for me. When I started coding a year ago, I used a template file and just worked things out as I went. It happened to have a XHTML 1.1 DTD, but since I didn't even know what a DTD was, I didn't care. It is only recently that I discovered that (1) when I tried to validate I had numerous errors, and (2) virtually non-one uses XHTML 1.1. So now I am considering what Doctype I should use. There seem to be two opinions "out there". I checked out the source code for about 20-30 popular sites and found XHTML 1.0 was used more than twice as often as HTML 4. Many people say XHTML is the way of the future, and requires tighter code, so why not use it? The free WYSIWYG editor I use (NVU) codes in XHTML as default. However others say that some browsers don't handle XHTML well, and unless you need the extra features (and if you don't know what they are then you don't need them - my situation), then HTML 4 is still best - this seems to be the view taken in the excellent "Doctype and validation" topic on this forum. Some people go on to suggest taking a strict line on some of the optional coding rules (e.g. closing all tags) is a good practice, helps prepare you for XHTML, but is still good in HTML. So, what is the common opinion here - HTML4 for "dummies" like me? Thanks. What is the major difference between HTML / XHTML? 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. |