Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which HTML5 tag can be used to embed an external application (SWF, PDF) in web page?
<mark> <embed> <canvas>
<embed src="flash_game.swf" width="450" height="350" />
Which CSS pseudo-element adds a special style to the first line of a text?
:first-letter :before :first-line
#id:first-line {
  font-weight: bold;
  color: blue;
}
Click on the window object property which gets or sets the URL of current page.
window.location window.self window.status
var url = window.location;
alert(url);
Indicate the PHP function used to get the contents of a file or page and store it into a string.
fopen() file_put_contents() file_get_contents()
$homepage = file_get_contents("http://coursesweb.net/");
echo $homepage;
AJAX Tutorials

Last accessed pages

  1. SHA512 Encrypt hash in JavaScript (16130)
  2. Display data from PHP Array, or MySQL in HTML table (19038)
  3. Replace JavaScript variable name from string with its value (2016)
  4. Node.js Move and Copy Directory (8026)
  5. HTML Course - Free Lessons (15862)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (306)
  2. Register and show online users and visitors (207)
  3. Read Excel file data in PHP - PhpExcelReader (176)
  4. PHP-MySQL free course, online tutorials PHP MySQL code (171)
  5. JavaScript Course - Free lessons (136)