Useful CSS / CSS3 code snippets to style HTML elements, for page design, and Web Designers.

Daily Test with Code Example

Which tag defines the clickable areas inside the image map?
<map> <img> <area>
<img src="image.jpg" usemap="#map1">
<map name="map1">
  <area shape="rect" coords="9, 120, 56, 149" href="#">
  <area shape="rect" coords="100, 200, 156, 249" href="#">
Which CSS property defines what is done if the content in a box is too big for its defined space?
display overflow position
#id {
  overflow: auto;
Click on the event which is triggered when the mouse is positioned over an object.
onclick onmouseover onmouseout
document.getElementById("id").onmouseover = function(){
  document.write("Have Good Life");
Indicate the PHP variable that contains data added in URL address after the "?" character.
if(isset($_GET["id"])) {
  echo $_GET["id"];
CSS Code Snippets

Last accessed pages

  1. PHP getElementById and getElementsByTagName (18081)
  2. Linebacker Alley (1512)
  3. Get and Modify content of an Iframe (11971)
  4. Working with HTML attributes in PHP (5542)
  5. Simple PHP Upload Script (5619)

Popular pages this month

  1. Qwop (3618)
  2. Flash Games - Free online Games (1713)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (1611)
  4. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (1529)
  5. Drag Racer V3 (1492)