Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
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
AJAX Tutorials

Last accessed pages

  1. Read Excel file data in PHP - PhpExcelReader (73536)
  2. CSS Trapezoid Shape (8014)
  3. Countdown Timer with starting time added into a form (7939)
  4. PHP getElementById and getElementsByTagName (34762)
  5. Display data from PHP Array, or MySQL in HTML table (17915)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (2606)
  2. Contact page - CoursesWeb (2520)
  3. Tabs effect with CSS (2517)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (826)
  5. Insert, Select and Update NULL value in MySQL (667)