Daily Test with Code Example

Which tag is a block element?
<div> <img> <span>
<div>Web Programming and Development</div>
Which CSS code displays the text underlined?
font-style: italic; text-decoration: underline; font-weight: 500;
h2 {
  text-decoration: underline;
Click on the JavaScript function that can access other function after a specified time.
insertBefore() setTimeout() querySelector()
function someFunction() { alert("CoursesWeb.net"); }
setTimeout("someFunction()", 2000);
Click on the instruction that returns the number of items of a multidimensional array in PHP.
count($array) count($array, 1) strlen()
$food = array("fruits" => array("banana", "apple"), "veggie" => array("collard", "pea"));
$nr_food = count($food, 1);
echo $nr_food;       // 6

Last accessed pages

  1. Insert, Select and Update NULL value in MySQL (8543)
  2. Zuma Deluxe (782)
  3. Create a simple anti-spam Captcha verification code (771)
  4. Ajax-PHP Chat Script (22711)
  5. Rotate HTML objects, Div, Span, images with jQuery (4014)

Top accessed pages

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