html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<html>
<head>
<title>My-DropDown-list </title>
<meta name="viewport"content="width=device-width, initial-scale=1.0">
<head>
</head>
</head>
<body background="http://sapphiremedia.in/education/wp-content/uploads/2017/02/web_design_desk2.jpg">
<div>
Drop Down List
</div>
<br>
<ul>
<li><a href="https://www.sololearn.com/Profile/4446335/?ref=app">Menu</a></li>
<li><a href="#">Log-in</a>
<ul> <li><a href="https://code.sololearn.com/W6V4mYQV40Y5/#html">Candidate </a></li>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
div{
background-color: lightcoral;
width: 100%;
height:70px;
font-size:30px;
text-decoration:strong;
text-align:center ;
padding-top:20px;
text-transform:uppercase ;
border-radius:12px;
border:2px solid red;
}
ul{
padding: 0;
margin :0;
list-style: none;
}
ul li{
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
alert("Drop Down Menu Apply in Course, Log-in And News only")
alert("Hit like buddy");
function c(){
alert("You can't access this link");
}
function r(){
alert("Not declared");
}
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run