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. Multiple Select Dropdown List with AJAX (10396)
  2. Get Duration of Audio /Video file before Upload (1631)
  3. CSS3 - text-shadow, word-wrap, text-overflow (526)
  4. SHA256 Encrypt hash in JavaScript (1492)
  5. Validate radio and checkbox buttons (3312)

Top accessed pages

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