W3C home > Mailing lists > Public > www-html@w3.org > December 2000

RE: html and dreamweaver

From: Dave J Woolley <david.woolley@bts.co.uk>
Date: Mon, 11 Dec 2000 18:19:27 -0000
Message-ID: <81E4A2BC03CED111845100104B62AFB50102A2E0@stagecoach.bts.co.uk>
To: "'www-html@w3.org'" <www-html@w3.org>
> From:	Philip TAYLOR [SMTP:P.Taylor@Rhbnc.Ac.Uk]
> 
> Surely the way of the future (and the sooner the better) is 
> "select the text, click the "class" extensible drop-down menu, 
>  choose or add the appropriate class, and then [it] puts <span> or <div>
> tags
	[DJW:]  
	Not really HTML, more authoring tools, but...

	span and div should be treated as last resorts.  The
	class should, as far as possible, be added to an element
	that indicates the semantics.  In many cases that means that
	span classes (or styles) should really go on em or strong and
	that div ones should go on p or Hn.

	In terms of the HTML model, the user interface ought to prompt
	for class as an attribute of em, strong etc.; however a compromise,
	for those who can't think well in terms of the standard elements, 
	would be to have the default element type as a pseudo attribute of
	the style.

	The use of span and div as holder for styles is the result
	of a trivial conversion from <font face=...>.  They are not there
	as a carrier for formatting, but rather for structures that don't
	match any of the standard elements.

[DJW:]  

-- 
--------------------------- DISCLAIMER ---------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of BTS.
Received on Monday, 11 December 2000 13:19:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:44 GMT