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

How many types of list tag are using in html?

0 Answers  


Describe html?

0 Answers  


What is special in html5?

0 Answers  


What is html applet?

0 Answers  


Why is frameset not supported html5?

0 Answers  


In html5, onblur and onfocus are?

0 Answers  


What is xhtml used for?

0 Answers  


What is html5 and its uses?

0 Answers  


What is the advantage of using frames?

0 Answers  


What are the reasons for validating a HTML?

0 Answers  


What are the advantages of SVG over other image format like JPEG or GIF?

0 Answers  


What does cellpadding mean in html?

0 Answers  


Categories