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 are advantages of html?

880


List out the advantages of html5?

856


What are the new attributes provided in HTML5 for

?

810


What is img src in html?

869


What are gradients in Canvas used for? What are their different types?

870


What is dom manipulation?

872


What is a label tag?

845


What are the technologies that we use in dhtml?

953


Is br a container tag?

864


How do you use a br tag?

843


Is html table deprecated?

895


What is tr and td in html?

857


List out media related elements in html5?

863


What is the most common markup language?

877


What other ways can be used to align images and wrap text?

893