webfan wrote:
How to code this in HTML so that the display of text string as following:
Wrong news group, ask in:
comp.infosystems.www.authoring.html
But before you do, you'd better make it look like you made some attempt
to read the specification and learn about HTML.
(This is Text string 1...)
(Text string 2...)
(Text string 3...)
Will this be better put into a DIV or SPAN?
P elements.
When to use DIV instead of SPAN?
RTFM:
<URL:http://www.w3.org/TR/html4/>
At the top and bottom of the page are links to an elements index, use
that to read about specific elements.
How to specify the width of the DIV or SPAN so that when any of the text
strings larger than the width, it will automatically wrap itself?
Read about CSS:
<URL:http://www.w3.org/TR/CSS21/>
At the top and bottom of the page are links to a properties index. Read
about height, width and overflow.
Ask questions about CSS in comp.infosystems.
www.authoring.stylesheets,
but same advice as for the HTML group: at least show some attempt to
learn about CSS first (read some posts, the spec, examples, etc.)
Useful tutorials are at <URL:http://www.w3schools.com/> be aware that
they are helpful but not authoritative.
--
Rob