Created
December 18, 2018 19:53
-
-
Save rajatk16/e4318cc52ad228ab2d4b4a665c15c0b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>CSS Selectors</title> | |
<meta charset="UTF-8" /> | |
<link rel="stylesheet" type="text/css" href='./style.css'> | |
</head> | |
<body> | |
<nav id="main"> | |
<ul> | |
<li class="special"> | |
<a href="/">Main</a> | |
</li> | |
<li class="special"> | |
<a href="/dc">DC Comics</a> | |
</li> | |
<li class="special"> | |
<a href="/marvel">Marvel Comics</a> | |
</li> | |
</ul> | |
</nav> | |
<form> | |
<label for="hero-name">Name</label> | |
<input type="text" id="hero-input"> | |
<label for="hero-affil">DC or Marvel</label> | |
<select id="hero-affil"> | |
<option value="DC Comics">DC Comics</option> | |
<option value="Marvel">Marvel</option> | |
</select> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment