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. Register and show online users and visitors (8409)
  2. Read ZIP archive data with PHP (347)
  3. Add Pause in JavaScript script (4129)
  4. Get the value of multiple selected checkboxes with same name (3676)
  5. Flash Games - Free online Games (2564)

Top accessed pages

  1. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (31630)
  2. PHP-MySQL free course, online tutorials PHP MySQL code (25821)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (24772)
  4. Read Excel file data in PHP - PhpExcelReader (23888)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (21580)