Daily Test with Code Example

Which tag is used to include external CSS file in web page?
<body> <script> <link>
<link href="/templ/style.css" rel="stylesheet" type="text/css" />
Which CSS property sets the text size?
font-weight text-decoration font-size
h2 {
  font-size: 1em;
Indicate the JavaScript property that can add HTML code into an element.
text value innerHTML
document.getElementById("someID").innerHTML = "HTML content";
Click on the function that returns the number of characters of a string in PHP.
count() strlen() stristr()
$str = "http://CoursesWeb.net/";
$nr_chr = strlen($str);
echo $nr_chr;       // 22

Last accessed pages

  1. CKEditor Free Image Browse Plugin (2137)
  2. Multiple Drop-Down Select Lists Creator (1279)
  3. Class Room Escape (16)
  4. Working with getElementsByTagName (2687)
  5. Upload Script for Gallery of Images and Audio files (1972)

Top accessed pages

  1. PHP-MySQL free course, online tutorials PHP MySQL code (11386)
  2. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (10999)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (10629)
  4. PHP Chat Script (9772)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (9428)