HTML and CSS Reference
In-Depth Information
Code
Explanation
The <a href="slingshot.html">Slingshot</a>
simulates shooting a slingshot. A ball moves on
the screen, with the angle and speed depending
on how far the player has pulled back on the
slingshot using the mouse.
See previous. This paragraph contains the
hyperlink to slingshot.html.
</p>
Closing p tag
<p>
Opening p tag
The <a href="memory.html">Concentration/memory
game</a> presents a set of plain rectangles you
can think of as the backs of cards. The player
clicks on first one and then another and
pictures are revealed. If the two pictures
represent a match, the two cards are removed.
Otherwise, the backs are displayed. The game
continues until all matches are made. The time
elapsed is calculated and displayed.
See previous. This paragraph contains the
hyperlink to memory.html.
</p>
Closing p tag
<p>
Opening p tag
The <a href="quiz1.html">Quiz game</a> presents
the player with 4 boxes holding names of
countries and 4 boxes holding names of capital
cities. These are selected randomly from a
larger list. The player clicks to indicate
matches and the boxes are moved to put the
guessed boxes together. The program displays
whether or not the player is correct.
See previous. This paragraph contains the
hyperlink to quiz1.html
</p>
Closing p tag
<p>
Opening p tag
Search WWH ::




Custom Search