Welcome to WebmasterWorld Guest from 50.19.135.67

Forum Moderators: open

Message Too Old, No Replies

Text Editor

     

stevelibby

9:29 am on May 8, 2007 (gmt 0)

10+ Year Member



I have come accross a text editor that i have modified to fit, however the html does not show the " " between href`s and sizes and so on, does it matter?

Brett_Tabke

11:42 am on May 8, 2007 (gmt 0)

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



you mean a space? Or a quote?

stevelibby

10:24 am on May 9, 2007 (gmt 0)

10+ Year Member



sorry it doesnt show quotes.

dreamcatcher

10:28 pm on May 9, 2007 (gmt 0)

WebmasterWorld Senior Member dreamcatcher is a WebmasterWorld Top Contributor of All Time 10+ Year Member



When you say you have come across a text editor, do you mean a web template? Not sure how you can modify a text editor to fit? Sorry if I`m confusing myself.

Here are some useful links:

HTML Specification [w3.org]
HTML Specification Attributes [w3.org]

Info from the web:

In XML, quotes are always required (since XML has SHORTTAG NO; see Comparison of SGML and XML). You may use XML in the future, and in that case your life will be simpler if you have adopted the habit of quoting attribute values.

When someone (you or someone else) later edits your HTML file, he may easily forget to add the quotes if he edits an attribute value in manner which makes the quotes mandatory. For example, an attribute like SRC=foo.gif is legal, but if someone changes the attribute (e.g. due to moving a file to another directory) to SRC=images/foo.gif it becomes illegal.

dc

stevelibby

10:50 am on May 15, 2007 (gmt 0)

10+ Year Member



Yes we have gone off the line lines a little here.
Ok
a html string should be shown as:
<TD vAlign="top" width="165">

but what if it looks like this:
<TD vAlign=top width=165>, notice no quotes!

coopster

12:23 am on May 16, 2007 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



It depends on the DTD but you are best off using quotation marks around your attribute [w3.org] values.

We recommend using quotation marks even when it is possible to eliminate them.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month