HTML - Html And Xhtml Question?
Hi 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! Similar Tutorialshi 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 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! 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. 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. 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! 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 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. 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. 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 ? This tutorial from http://library-cafe.com If someone just says that this is the high time when you should convert your site from HTML to XHTML - you can halt or not. But if he can say this with proper logic then you must be going through his decision - adaptibility is another thing. So at first you must know basically what XHTML is. XHTML is really more similar to HTML than it is different. The "changes" aren't really changes, but just a set of stricter standards to obey. XHTML stands for Extensible HyperText Markup Language. XHTML is a cross between HTML and XML. Any XHTML document will be valid HTML and valid XML, which means it can be opened in any XML editor. Why the need for XHTML? * XML allows the developer to add new tags whenever they want, allowing for more flexibility and creativity. * XHTML can be mixed with XML to provide easy updatable websites. * New ways of accessing the Internet are being created every day. XML/XHTML is a common standard for all these browsers/clients, which stops different standards being created for each of these methods. * XHTML is going to replace HTML in the near future so it will be useful if you already use it, as you will have one over on everyone who has stuck to using HTML. New Doctype Declaration <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/"> And the tag becomes: <html xmlns="http://www.w3.org/1999/" xml:lang="en" lang="en"> Just Some Rules 1. In the <head> tag the <title>Title here</title> tag must be first, nothing else 2. All tags must be lowercase, so no <TITLE> it must be <title>. 3. Any tag that doesn't have an ending tag, like <br>, must have a space and forward slash before the end like this: <br />. 4. All tag attributes must be surrounded by quotes, so replace <p align=center> with <p align="center">. 5. No attribute can have no value, so, for example, when using the <input> tag with checked at the end, you must change it to checked="checked". 6. All XHTML documents have to be well formed, so each file must have a html, head, title and body set of tags. 7. All documents must have a doctype, see above to find out the best one to use when you are new to XHTML. 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 What is the major difference between HTML / XHTML? easy learn html or xhtml? Regards, Ashok. Hi Guys, I have been creating sites for about a year and a half and was wondering what is the best doc type to use and reasons why? Which is best HTML or XHTML and also version numbers? Most sites i have done i have used XHTML 1.0 Transitional. Any feedback or comments on this is not important but thought i'd ask as i've never really thought about it before. CC_DESIGN Hey, So its another on of them questions So i want to know what would be best for me? ive never built a website and i havent learnt HMTL or XHTML or the many languages that there are. i know its going to be a long process and i am happy to learn it as i want my company to have a really good site. Thats the thing i run a production company and when someone checks out my site i want them to see how professional it is and also that they want my company to work for them!!! So what would be better to start off with? HTML or XHTML? ive read a little about both and have a little understanding. so as a novice would i need to learn HTML before i could even start to use XHTML? i read this thread and the last post says use whatever? so the question that i have is which one would be better for me and better for my site? considering i dont know any languages! http://www.htmlforums.com/html-xhtml...-10-93928.html Thanks! Hello everyone, Nice to join a forum for the first time and hopefully this will add extra help when I'm working on my development projects. I have a web site of my own using HTML transitional, but am planning to go from HTML to XHTML strict in the near future. Since the site holds over 3500 pages, it would not be feasible to upgrade every single page. Is there a free program or a web service that can do that job? |