|
Answer» Using EXAMPLE I will SHOW you in XHTML every attribute must have a value. Example in HTML: <ol compact> <input type="RADIO" name="title" value="decline" CHECKED>decline</input> Below, I write a same example in XHTML. <ol compact="compact" > <input type="radio" name="title" value="decline" checked="checked">decline</input> In this we assign value compact, checked to element compact and checked. Using example I will show you in XHTML every attribute must have a value. Example in HTML: <ol compact> <input type="radio" name="title" value="decline" checked>decline</input> Below, I write a same example in XHTML. <ol compact="compact" > <input type="radio" name="title" value="decline" checked="checked">decline</input> In this we assign value compact, checked to element compact and checked.
|