Daily Test with Code Example

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;
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;

Last accessed pages

  1. Adding data from HTML Table Rows in Form fields (670)
  2. HTML object and param (4508)
  3. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (16283)
  4. Create simple Website with PHP (5091)
  5. jQuery Ajax - load() method (4371)

Top accessed pages

  1. PHP-MySQL free course, online tutorials PHP MySQL code (16627)
  2. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (16283)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (15553)
  4. Ajax-PHP Chat Script (13708)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (13689)