Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag can be used to create input text field in web page?
<form> <input> <div>
<input type="text" name="a_name" value="val" />
Which CSS property displays the text in a small-caps font?
display font-variant font-style
h3 {
  font-variant: small-caps;
}
What instruction displays a notice box with a message inside it, in JavaScript?
for() Date() alert()
var msg = "Visit CoursesWeb.net";
alert(msg);
Indicate the PHP code used to get the users IP.
$_SERVER["HTTP_USER_AGENT"] $_SERVER["REMOTE_ADDR"] $_GET[]
$ip = $_SERVER["REMOTE_ADDR"];
echo $ip;

Last accessed pages

  1. innerHTML and outerHTML to Get and Replace HTML content (6923)
  2. jQuery UI draggable - Drag elements (7248)
  3. AJAX with POST and PHP (5854)
  4. The Fifth Agreement (8227)
  5. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (3287)

Top accessed pages

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