homepage Welcome to WebmasterWorld Guest from 54.166.122.86
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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

10+ Year Member



 
Msg#: 3333580 posted 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

WebmasterWorld Administrator brett_tabke us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3333580 posted 11:42 am on May 8, 2007 (gmt 0)

you mean a space? Or a quote?

stevelibby

10+ Year Member



 
Msg#: 3333580 posted 10:24 am on May 9, 2007 (gmt 0)

sorry it doesnt show quotes.

dreamcatcher

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



 
Msg#: 3333580 posted 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

10+ Year Member



 
Msg#: 3333580 posted 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

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



 
Msg#: 3333580 posted 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