Welcome to Interactive Programming Forums, where you can ask questions, receive answers from other members of the community, post code snippets and post exercies.

I need some Help in here

+20 votes
order =Create a definition list that has 3 list items

my answer




<html>
<head>
<title></title>
</head>
<body>
<dl>
<dt>HE</dt>
<dd>* Hurricane Electric</dd>
</dl>
<ul>
<li>list 1</li>
<li>list 1</li>
<li>list 1</li>
</ul>
</body>
</html>

but it doesn't work  i don't know why
posted 12 years ago in HTML by Abdullah Muhamed (2,500 points)

3 Answers

0 votes
Hi,

Can you tell me what exercise name/number is?
answered 12 years ago by codeadmin (113,880 points)
0 votes
You are supposed to a list of 3 <b>Definitions</b>.
Not a unordered list.

so remove unordered list block.
<ul>
<li>list 1</li>
<li>list 1</li>
<li>list 1</li>
</ul>

Add two more definitions to your definitions block. Keep HE definition.
<dt>A</dt>
<dd> Letter A </dd>
<dt>B</dt>
<dd>Letter B</dd>
answered 12 years ago by Stefan Nelin (710 points)
0 votes
I think code look like

<html>
<head>
<title></title>
</head>
<body>
<dl>
<dt>HE</dt>
<dd>definition 1</dd>
<dd>definition 2</dd>
<dd>definition 3</dd>
</dl>

</body>
</html>

If you want i look like <ul> tag , I think you can use CSS
answered 12 years ago by vqdat169 (2,090 points)

Related questions

+4 votes
1 answer
+7 votes
1 answer
posted 12 years ago in XML by Iku Hussain (980 points)
+9 votes
1 answer
posted 12 years ago in HTML by atimokoena (1,400 points)
+28 votes
1 answer
posted 13 years ago in HTML by Jesse M Nzima (1,580 points)
+7 votes
1 answer
posted 12 years ago in Javascript by Heidi Vincent (3,970 points)