Daily Test with Code Example

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";
Indicate the PHP code used to get the users IP.
echo $ip;

Last accessed pages

  1. Ajax-PHP Rating Stars Script (1763)
  2. PHP Arrays (230)
  3. ActionScript 3 - Change MovieClip Color (764)
  4. createElement and insertBefore (625)
  5. jQuery Ajax - load() method (1426)

Top accessed pages

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