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?



Should I put quotes around attribute values or not?..

Answer / 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

More HTML DHTML Interview Questions

What are dom levels?

0 Answers  


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

0 Answers  


How do I make a link or form in one frame update another frame?

0 Answers  


Why we need html language?

0 Answers  


What is local storage?

0 Answers  


What is meta charset utf8?

0 Answers  


Can attribute values be set to anything or are there specific values that they accept?

0 Answers  


What is dhtml and its advantages?

0 Answers  


Why to use figure tag in html5?

0 Answers  


How do you get a picture in html?

0 Answers  


How to handle events with dhtml?

0 Answers  


Why is html important?

0 Answers  


Categories