4. IMAGES WITH LINKS
• Till now we have seen how to add images in the web site.
• But now we will have redirect in to another webpage when
we click on that image it is the most and common one we
seen in almost every webpages.
5. IMAGE THAT LEADS TO ANOTHER PAGE
<!DOCTYPE html>
<html>
<head>
<title>
</title>
</head>
<body>
<a href="http://www.codecademy.com">
<img src="http://s3.amazonaws.com/codecademy-blog/assets/f3a16fb6.jpg" />
</a>
</body>
</html>
6. ORDERED LIST
Let's continue learning more HTML. You've already covered a lot
In this course, I will take it to the next level:
a. Making ordered and unordered lists
b. list inside a list
7. ORDERED LIST
• Ordered list is simply a list that is numbered which will be explained in the
example.
• The opening of the ordered list is followed by <ol> </ol>.
• Inside the <ol> the list what ever you want to write can be done in this section.
• It follows as <li> </li> this follows the list sequence and gives number
according the order it goes.
• It is very basic that to remembered through out the course
8. SAMPLE CODE
<!DOCTYPE html>
<html>
<head>
<title>Lists</title>
</head>
<body>
<h1>List of my favorite things</h1>
<ol>
<li>raindrops on roses</li>
<li>whiskas on kittens</li>
<li>call of duty: modern warfare</li>
</ol>
<h2>List of things i find OK!</h2>
<ol>
<li>i like to be a great lover</li>
<li>i like to be a great software engineer</li>
<li>i like to be great man </li>
</ol>
9. UNORDERED LIST
• We just learned how to make ordered lists, but if the order doesn’t matter, what
if we just want the bullet points?
• Ans: unordered list
10. STEPS:
• 1. First, we open our list with an unordered list <ul> tag.
• 2. For each item we wish to add to the list, we use a list item tag <li> with text
between them.
• 3.We then tell the browser we are done with our list by calling our closing
</ul> tag