Daily Test with Code Example
HTML
CSS
JavaScript
PHP-MySQL
Which HTML5 tag is indicated to be used as container for menu with navigation links in Web site?
<section> <nav> <article><nav><ul>
<li><a href="http://coursesweb.net/css/" title="CSS Course">CSS Course</a></li>
<li><a href="http://www.marplo.net/jocuri/" title="Flash Games">Flash Games</a></li>
</ul></nav>
Which CSS property shifts an item horizontally to the left or right of where it was?
text-align clear float.some_class {
width: 30%;
float: left;
}
Click on the Math object method which returns x, rounded downwards to the nearest integer.
Math.ceil(x) Math.abs(x) Math.floor(x)var num = 12.34567;
num = Math.floor(num);
alert(num); // 12
Indicate the PHP function which returns the number of characters in string.
mb_strlen() count() stristr()$str = "string with utf-8 chars åèö";
$nrchr = mb_strlen($str);
echo $nrchr; // 30