siddu Posted October 11, 2010 Report Posted October 11, 2010 Hi, I am new to html so anybody can help me how to improve my html knowledge i mean from which point i have to start what are the basic thing's and what is the difference between HTML-XHTML? Any advice would be appreciated. Thank's Quote
Andrea Posted October 11, 2010 Report Posted October 11, 2010 Work your way through some beginner's tutorials - for example: http://www.how-to-build-websites.com/lessonOne.php And re the HTML / XHTML issue: http://www.killersites.com/community/index.php?/topic/57-html-or-xhtml-updated-30-july-06/ Quote
weblink Posted October 16, 2010 Report Posted October 16, 2010 The W3C announced that HTML 4 has been reformulated into XHTML 1.0. XHTML is HTML 4 written as an XML application.Comparing HTML(Hypertext Markup Language) and XHTML(Extensible HTML) could be like comparing identical twins since there are only a few minor points which we can actually point out as being different. This is due to the fact that XHTML was derived from HTML just to conform with XML standards.The primary major difference between the two is the relative strictness of XHTML compared to HTML. While someone coding in HTML could get away with some lapses in structure and coding, that is no longer possible with XHTML. Quote
Guest penelopeklimas Posted February 15, 2011 Report Posted February 15, 2011 (edited) Hi, I have recently been trying to get a web page together and I am not having much sucess with trying to get a image to it, could anyone give me some info and in simple terms as I am only a new starter at this. I have got the basics of inserting font and backgrounds and A Href, and thats about it. Edited February 15, 2011 by Andrea Link Removed Quote
Andrea Posted February 15, 2011 Report Posted February 15, 2011 You insert an image with this code: <img src="image.jpg" alt="Description of Image" width="500px" height="300px"> This assumes that the image is in the same folder as the page. Make sure the image is optimized to be the size you need, and not too large of a file (loadtimes). Quote
madhusmita Posted May 30, 2011 Report Posted May 30, 2011 If you want to learn HTML, you can follow the w3schools.com site.It got a very good tutorial for the HTML.Practice sets are also there which you can use to test your knowledge after finishing the chapters. The most important difference between HTML and XHTML are as follows: 1. It allows an author to omit certain tags and use attribute minimization. 2 The Extensible Hyper Text Markup Language, or XHTML, is an application of XML (Extensible Markup Language). It doesn't allow the omission of the tags.This means that in XHTML we need to use </br> tag with <br> tag.But in HTML, we can use only one </br> tag in place of <br> and </br> Quote
Andrea Posted May 30, 2011 Report Posted May 30, 2011 This means that in XHTML we need to use </br> tag with <br> tag.But in HTML, we can use only one </br> tag in place of <br> and </br> Madhusmita, we have corrected you on this before - in XHTML, a line break is done like this: <br /> The <br> is not needed - you only use the properly closed br tag. In HTML, all you use is the <br> tag. Please let me know if you have any questions. Quote
harryhamlin Posted June 6, 2011 Report Posted June 6, 2011 I am a Beginner in HTML and W3C School is really helping me out. Trust me it is the best resource I got. Quote
henrylayla Posted June 14, 2011 Report Posted June 14, 2011 w3schools is good. I am also using it to learn HTML and CSS. Madhusmita, we have corrected you on this before - in XHTML, a line break is done like this: Can't we use the same line break in HTML4.01 too? I am talking about br / line break. Quote
Andrea Posted June 14, 2011 Report Posted June 14, 2011 A line break - the br tag - in HTML looks like this: <br> and in XHTML like that: <br /> Quote
LSW Posted June 15, 2011 Report Posted June 15, 2011 Just a side comment: In the early days it was a good idea to write it with a space <br /> (or any other self closing tag), it was due to the browsers at the time. However there is no requirement or even any reason any longer to leave the space, I never have and even back then it worked fine. <br/> Quote
ThomasAnderson Posted February 21, 2012 Report Posted February 21, 2012 HTML: Is not case sensitive Allows the user to omit certain tags when ever xml parser encounter an error relating to the document well formedness, HTML parser is expected to attempt recover & continue. XHTML Is case sensitive it doesn't permit the omission of any tags when ever xml parser encounter an error relating to the document well formedness, XHTML parser must abort it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.