homepage Welcome to WebmasterWorld Guest from 54.167.96.124
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Text Editor
stevelibby




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

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




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

you mean a space? Or a quote?

stevelibby




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

sorry it doesnt show quotes.

dreamcatcher




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

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




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

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




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

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved