Print Page | Close Window

Surrounding values on HTML tags

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20823
Printed Date: 30 March 2026 at 7:51am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Surrounding values on HTML tags
Posted By: theSCIENTIST
Subject: Surrounding values on HTML tags
Date Posted: 26 July 2006 at 12:00pm

Hi guys, I just want to know if any of know if there's any problem using this [ align='right' ] opposed to the traditional [ align="right" ]?

The reason I want to use ' ' is that when I later go and convert all HTML to ASP Response.Write so the code is all ASP and not jumping in and out of it, I can easily do Response.Write(" align='right' ") and not Response.Write(" align=""right"" ")

My question is; is there any problem using ' ' as opposed to "" in HTML?

Thanks.



-------------
:: http://www.mylittlehost.com/ - www.mylittlehost.com



Replies:
Posted By: dpyers
Date Posted: 26 July 2006 at 3:16pm
http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2 - http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2

Basically either are ok.


-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: theSCIENTIST
Date Posted: 27 July 2006 at 6:38am
Thanks, I thought as much, but couldn't find it in the HTML specs, maybe my search keywords were a bit off.

-------------
:: http://www.mylittlehost.com/ - www.mylittlehost.com



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net