/    Sign up×
Community /Pin to ProfileBookmark

html using div tag

hi all ,
can u tell me how to modify this html code using <div> tag….

[CODE]
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Strict//EN”
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml” dir=”ltr” lang=”en-EN”>
<head>
<script src=”jquery-1.2.1.min.js” type=”text/javascript”></script>
<script src=”menu-collapsed.js” type=”text/javascript”></script>
<link rel=”stylesheet” type=”text/css” href=”style.css” />
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title>Simple JQuery Collapsing menu</title>
<style type=”text/css”>
li a
{
display:inline-block;
}
li a
{
display:block;
}
</style>
</head>
<body>
<h1>Simple JQuery Collapsing menu</h1>
<p>Same menu as seen <a href=”./”>here</a> but now as a simple collapsing menu.</p>
<ul id=”menu”>

<li>
<a href=”#”>Weblog Tools</a>
<ul>
<li><a href=”http://www.pivotx.net/”>PivotX</a></li>
<li><a href=”http://www.wordpress.org/”>WordPress</a></li>
<li><a href=”http://www.textpattern.com/”>Textpattern</a></li>
<li><a href=”http://typosphere.org/”>Typo</a></li>
</ul>
</li>

<li>
<a href=”#”>Programming Languages</a>
<ul>
<li><a href=”http://www.php.net/”>PHP</a></li>
<li><a href=”http://www.ruby-lang.org/en/”>Ruby</a></li>
<li><a href=”http://www.python.org/”>Python</a></li>
<li><a href=”http://www.perl.org/”>PERL</a></li>
<li><a href=”http://java.sun.com/”>Java</a></li>
<li><a href=”http://en.wikipedia.org/wiki/C_Sharp”>C#</a></li>
</ul>
</li>

<li><a href=”http://www.i-marco.nl/weblog/”>Marco’s blog (no submenu)</a></li>

<li>
<a href=”#”>Cool Stuff</a>
<ul>
<li><a href=”http://www.apple.com/”>Apple</a></li>
<li><a href=”http://www.nikon.com/”>Nikon</a></li>
<li><a href=”http://www.xbox.com/en-US/”>XBOX360</a></li>
<li><a href=”http://www.nintendo.com/”>Nintendo</a></li>
</ul>
</li>

<li>
<a href=”#”>Search Engines</a>
<ul>
<li><a href=”http://search.yahoo.com/”>Yahoo!</a></li>
<li><a href=”http://www.google.com/”>Google</a></li>
<li><a href=”http://www.ask.com/”>Ask.com</a></li>
<li><a href=”http://www.live.com/?searchonly=true”>Live Search</a></li>
</ul>
</li>
</body>
</html>
[/CODE]

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@Frank62Aug 01.2011 — I would think that you're over-asking - there are numerous good sources where you can find that out yourself easily, e.g. http://w3schools.com. And that you're posting an unclear question - why, what is your objective? And what's with the double post?
×

Success!

Help @ravi951 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...