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. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (19318)
  2. Wheely 6 - Fairytale (29)
  3. Simple PHP Upload Script (3610)
  4. CKEditor Free Image Browse Plugin (3674)
  5. PHP PDO - Select query, fetch (8855)

Top accessed pages

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