Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Should I put quotes around attribute values or not?

Answer Posted / guest

It depends. It is never wrong to use them, but you don't
have to if the attribute value consists only of letters,
digits, periods and/or hyphens. This is explained in the
HTML 2.0 specs.

Oh, and keep in mind that if you use double quotes, you
should escape any quotes inside the value with """ so you
don't accidentally terminate the value prematurely.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is frameset in html?

957


What is the difference between innertext and textcontent?

1018


Explain web sql?

914


What are empty html elements?

874


Explain basic structure of html5?

909


Explain cell padding and cell spacing.

827


Is there any need to change the web browsers to support html5?

860


How do I use forms?

931


What is the meaning of dynamic web page?

888


Which type of video formats are supported by html5?

803


What is a web worker in html5?

799


Please give a regular expression (preferably perl/preg style), which can be used to identify the url from within a html link tag?

832


How do you identify rows and columns?

828


What is the use of the required attribute in html5?

866


What is xhtml? Why xhtml?

946