- From: Stephan Kassanke <kass@upb.de>
- Date: Mon, 23 Apr 2001 10:01:11 +0200
- To: "Skult" <Skult@Softhome.net>, <www-html@w3.org>
Skult, As far as i know, HTML does not force you to quote attributes, though it's good practice to do so. Current browsers do their best to interpret the attributes you supply. This changes when working with XML and XHTML files. Attributes *must* be quoted in these document types to get valid documents. Stephan -----Ursprüngliche Nachricht----- Von: www-html-request@w3.org [mailto:www-html-request@w3.org]Im Auftrag von Skult Gesendet: Sonntag, 22. April 2001 19:35 An: www-html@w3.org Betreff: HTML Document conventions. I've browsed through the HTML Specs and couldn't find information regarding the use of quotation marks (don't know if that's the right word, I mean: "") when defining attributes for HTML tags. Can anyone tell me whether there is any difference between <img src="some_picture.png" width="10" height="10" alt="Some alternative text"> and <img src="some_picture.png" width=10 height=10 alt="Some alternative text">. Or may I even write <img src='some_picture.png' width='10' height='10' alt='Some alternative text'> (I've never tried the last one, though)... Thanks in advance, --- Skult
Received on Monday, 23 April 2001 04:00:26 UTC