Tutorial: Adding to xhtml<br/><span class='r'>With answers</span>
Zoo tutorials: [ SQL | Java | Linux | XML ]

A Gentle Introduction to xml

Adding to xhtml
With answers

Question 1: The tag.

Look at the example below. This example shows the required functionality of a hint using javascript in html. We can set up an xsl sheet to take the hint tag and generate this.

source
<p>
<form>
 <input
   type="button"
   onclick="this.nextSibling.style.display='inline';"
   value="A hint"/>
 <span style="display:none">Hello world!</span>
</form>
</p>
result

Hello world!

XML


XSL