Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Click on the HTML tag which creates an horizontal line in web page.
<br /> <em> <hr />
Some content ...
<hr />
Content under line ...
Which CSS property defines the text color?
font-style font-variant color
h2 {
  color: #cbdafb;
}
Click on the function which searches if a character, or text exists in a string.
indexOf() toString() split()
var str = "Web courses - http://CoursesWeb.net/";
if(str.indexOf("http://") == -1) alert("http:// isn`t in string");
else alert("http:// is in string");
Which function splits a string into an array of strings based on a separator?
array_merge() explode() implode()
$str = "apple,banana,melon,pear";
$arr = explode(",", $str);
var_export($arr);      // array (0=>"apple", 1=>"banana", 2=>"melon", 3=>"pear")
AJAX Tutorials

Last accessed pages

  1. CSS Outline (1950)
  2. Contact page - CoursesWeb (29635)
  3. Tabs effect with CSS (30296)
  4. SHA512 Encrypt hash in JavaScript (14614)
  5. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (36992)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (1077)
  2. Contact page - CoursesWeb (1049)
  3. Tabs effect with CSS (1045)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (449)
  5. PHP getElementById and getElementsByTagName (331)