Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag is used in <table> to create table header cell?
<thead> <th> <td>
<table><tr>
  <th>Title 1</th>
  <th>Title 2</th>
</tr></table>
Which CSS property sets the distance between lines?
line-height word-spacing margin
.some_class {
  line-height: 150%;
}
Which function opens a new browser window.
alert() confirm() open()
document.getElementById("id_button").onclick = function(){
  window.open("http://coursesweb.net/");
}
Indicate the PHP function that returns an array with names of the files and folders inside a directory.
mkdir() scandir() readdir()
$ar_dir = scandir("dir_name");
var_export($ar_dir);

Last accessed pages

  1. Coconuts Safari (33)
  2. SHA512 Encrypt hash in JavaScript (4528)
  3. Register and show online users and visitors (12107)
  4. Keep data in form fields after submitting the form (5068)
  5. PHP MySQL - WHERE and LIKE (11808)

Top accessed pages

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