Skip to content

Instantly share code, notes, and snippets.

@mohtth
Created March 3, 2019 20:05
Show Gist options
  • Save mohtth/11b7b2b25efc9d367334b098a8ce611f to your computer and use it in GitHub Desktop.
Save mohtth/11b7b2b25efc9d367334b098a8ce611f to your computer and use it in GitHub Desktop.
Structurer une page HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title> FindThePrecious</title>
</head>
<body>
<section>
<header>
<div class="findtheprecious"><h1>FindThePrecious.com</h1>
</div>
<nav>
<a href ="#fellows">Fellows</a>
<a href ="#thering">The Ring</a>
<a href ="#getmyaward">Get my award</a>
<a href ="#besthunters">Best hunters</a>
<a href ="#jointhearmy">Join the army</a>
<a href ="#contactus">Contact us</a>
</nav>
<div><h2>Dangerous fellowship try to destroy the ring</h2></div>
</header>
</section>
<section>
<div><h2 id="fellows">Fellows wanted dead (or aliveif you wanteat them later)</h2></div>
<nav>
<a href ="/mostwanted/">Most Wanted</a>
<ul>
<li>
<a href="https://placeholder.com"><img src="https://via.placeholder.com/160" alt=""></a>
<h3>The Wizard</h3>
<p>Small description...</p>
</li>
<li>
<a href="https://placeholder.com"><img src="https://via.placeholder.com/160" alt=""></a>
<h3>Hobbit</h3>
<p>Small description...</p>
</li>
<li>
<a href="https://placeholder.com"><img src="https://via.placeholder.com/160" alt=""></a>
<h3>Yummy Dwarf</h3>
<p>Small description...</p>
</li>
</ul>
<a href ="/mostdangerous/">Most Dangerous</a>
<a href ="/alreadycaptured/">Already Captured</a>
</nav>
</section>
<section>
<div><h2 id="getmyaward">I have captured one of them, how I get my reward</h2></div>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie, enim est eleifend mi, non fermentum diam nisl sit amet erat. Duis semper. Duis arcu massa, scelerisque vitae, consequat in, pretium a, enim. Pellentesque congue. Ut in risus volutpat libero pharetra tempor. Cras vestibulum bibendum augue. Praesent egestas leo in pede. Praesent blandit odio eu enim. Pellentesque sed dui ut augue blandit sodales. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Aliquam nibh. Mauris ac mauris sed pede pellentesque fermentum. Maecenas adipiscing ante non diam sodales hendrerit.</p>
<nav>
<a href ="/contactus/">Contact Us</a>
</nav>
<a href="https://placeholder.com"><img src="https://via.placeholder.com/140" alt=""></a>
</section>
<section>
<div><h2 id="besthunters">Best hunters</h2></div>
<ul>
<li><h3>ElvesKoller22</h3>
<a href="https://placeholder.com"><img src="https://via.placeholder.com/70" alt=""></a>
</li>
<li><h3>Goblin45</h3>
<a href="https://placeholder.com"><img src="https://via.placeholder.com/70" alt=""></a>
</li>
</ul>
</section>
<section>
<div><h2 id="thering">About the Ring</h2></div>
<ul>
<li>
<h3>Ring capabilities</h3>
<p> What can our master Sauron do with the ring ?</p>
<table>
<tr>
<th>Feature</th>
<th>Description</th>
</tr>
<tr>
<td> Main</td>
<td> One ring to rules them all </td></tr>
<tr>
<td> Invisibility</td>
<td> You can't see me</td>
</tr>
<tr>
<td> Power</td>
<td> Destroy the world</td>
</tr>
</table>
</li>
<li>
<h3>Why the ring is awesome ?</h3>
<p> My preciousssssss! Hrk Hrk, we want our preciousssss!</p>
<p> Gollum</p>
</li>
</ul>
</section>
<section>
<div><h2 id="jointhearmy">Join Mordor army, we need you !</h2></div>
<a href="https://placeholder.com"><img src="https://via.placeholder.com/140" alt=""></a>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi. Proin porttitor, orci nec nonummy molestie. .</p>
<nav>
<a href ="/sauronrulesthemall.com/">More info on SauronRulesThemAll.com</a>
</nav>
</section>
<section>
<div><h2 id="contactus">Contact Us</h2></div>
<div class="container">
<form action="action_page.php">
<label for="email"></label>
<input type="email" id="email" placeholder="@">
<label for="address"></label>
<input type="text" id="address" placeholder="home">
<label for="choises"></label>
<select id="choises" name="choises">
<option value="seen">I have seen one of them</option>
<option value="choise1">Choise1</option>
<option value="choise2">Choise2</option>
</select>
<label for="message"></label>
<textarea id="message" placeholder="Your message.." style="height:200px"></textarea>
<input type="submit" value="Submit">
</form>
</div>
</section>
<footer>
<nav>
<ul>
<li><a href ="/aboutus/">About us</a></li>
<li><a href ="/fellows/">Fellous</a> </li>
<li><a href ="/jointhearmy/">Join the army</a></li>
</ul>
<ul>
<li><a href ="/faq/">FAQ</a> </li>
<li><a href ="/rewardconditions/">Reward conditions</a></li>
<li><a href ="/legalmentions/">Legal mentions</a></li>
</ul>
<a href ="/sauron4ever/">Sauron4ever.com</a>
</nav>
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment