Created
June 15, 2016 09:09
-
-
Save divyanshu013/e2a18acb2b1b17764cd8a49ee7e17545 to your computer and use it in GitHub Desktop.
This file contains hidden or 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>Assignment on HTML</title> | |
</head> | |
<body> | |
<p> | |
<h2>Hi I'm Divyanshu</h2> | |
<img src="div.jpg" alt="User image" width="180px"> | |
<br> | |
<!-- This image has been deleted. --> | |
<img src="div_alt.jpg" alt="User image"> | |
<br><br> | |
I love <del>Pop</del> <ins>Rock</ins> music. | |
<br> | |
E = mc <sup>2</sup> is my favorite equation. | |
<br> | |
I love to drink H<sub>2</sub>O. | |
<br><br> | |
</p> | |
<hr> | |
<p> | |
<h2>Scrabled Eggs</h2> | |
Eggs are my favorite food. Here is a recipe for deliciously rich scrambled eggs. | |
<h3>Ingredients</h3> | |
<ul> | |
<li>2 eggs</li> | |
<li>1tbs butter</li> | |
<li>2tbs cream</li> | |
</ul> | |
<h3>Method</h3> | |
<ol> | |
<li>Melt butter in frying pan over medium heat</li> | |
<li>Gently mix the butter and cream in a pan</li> | |
<li>Once butter has melted add cream and eggs</li> | |
<li>Using a spatula fold the eggs from the edge of the pan to the center every 20 seconds (as if you are making an omelette)</li> | |
<li>When the eggs are still moist remove from the heat (it will continue to cook on the plate until served)</li> | |
</ol> | |
</p> | |
<hr> | |
<h2>Contact Me</h2> | |
<form action="contact.php" method="POST"> | |
<fieldset style="width:360px"> | |
<legend>Your Details:</legend> | |
Name: <input type="text" name="name"> | |
<br> | |
Email: <input type="email" name="email"> | |
</fieldset> | |
<br><br> | |
<fieldset style="width:360px"> | |
<legend>Your Review:</legend> | |
How did you hear about us? | |
<select name="source"> | |
<optgroup label="Searches"> | |
<option value="Google">Google</option> | |
<option value="Yahoo">Yahoo</option> | |
<option value="Bing">Bing</option> | |
</optgroup> | |
<optgroup label="Social Media"> | |
<option value="Facebook">Facebok</option> | |
<option value="Twitter">Twitter</option> | |
<option value="GooglePlus">Google Plus</option> | |
</optgroup> | |
<optgroup label="Other"> | |
<option value="Ads">Advertisements</option> | |
<option value="Friends">Friends</option> | |
<option value="Others">Others</option> | |
</optgroup> | |
</select> | |
<br><br> | |
Would you visit again?<br> | |
<input type="radio" name="Visit">Yes | |
<input type="radio" name="Visit">No | |
<input type="radio" name="Visit">Maybe | |
<br><br> | |
Comments:<br> | |
<textarea name="review" rows="5" cols="40"></textarea> | |
<br><br> | |
<input type="checkbox" name="updates"> Sign me up for email updates | |
<br> | |
<button type="submit">Submit review</button> <!-- Invokes contact.php --> | |
</fieldset> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment