HTML CODE
1. Write the markup language code to display your name in the largest-size heading element.
<html>
<head>
<title></title>
</head>
<body>
<h1>NURUL IZNI BT RAHMAT</h1>
<h1>NOROHAZANA BT CHE ADIK</h1>
<h1>NOR HAZLIN BT HUSNI</h1>
</body>
</html>
2. Write the markup language code for unordered list to display the days of the week.
<html>
<head>
<title></title>
</head>
<body>
<ul>
<li>IZNI</li>
<li>YOE</li>
<li>ALIN</li>
</ul>
</body>
</html>
3. Write the markup language code for an ordered list that uses uppercase letters to order the items. This ordered list will display the following : Spring, Summer, Fall and Winter.
<html>
<head>
<title></title>
</head>
<body>
<ol>
<li>Spring</li>
<li>Summer</li>
<li>Fall</li>
<li>Winter</li>
</ol>
</body>
</html>
4. Think of a favourite quote by someone you admire. Write the XHTML code to display the person's name in a heading and the quote in a blockquote.
<html>
<head>
<title></title>
</head>
<body>
<h1>WILLIAM SHAKESPEARE</h1>
<blockquote cite="http://www.brainyquote.com/quotes/quotes/w/williamsha101484.html">Some are born great, some achieve greatness, and some have greatness thrust upon them. </blockquote>
</body>
</html>
No comments:
Post a Comment