News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Quote Styles, "female" or 'female'?

Started by ben2ong2, October 05, 2006, 05:05:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ben2ong2

Attribute values must always be enclosed in quotes, but either single or double quotes can be used. For a person's sex, the person tag can be written like this:
<person sex="female">
or like this:
<person sex='female'>
Note: If the attribute value itself contains double quotes it is necessary to use single quotes, like in this example:
<gangster name='George "Shotgun" Ziegler'>
Note: If the attribute value itself contains single quotes it is necessary to use double quotes, like in this example:
<gangster name="George 'Shotgun' Ziegler">


You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login