mirror of
https://github.com/atapas/html-tips-tricks.git
synced 2024-11-16 08:48:26 +01:00
add legend html element
This commit is contained in:
parent
5dc82b852f
commit
ef61cafb15
2 changed files with 31 additions and 0 deletions
|
@ -91,6 +91,10 @@
|
||||||
<a href='./lazy-loading/index.html'>
|
<a href='./lazy-loading/index.html'>
|
||||||
Lazy Loading</a> - Lazy Load html images natively
|
Lazy Loading</a> - Lazy Load html images natively
|
||||||
</li>
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="./legend/index.html">
|
||||||
|
Legend</a> - Represents a caption for the content of its parent element
|
||||||
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href='./iframe/index.html'>
|
<a href='./iframe/index.html'>
|
||||||
Iframe</a> - Embed YouTube Videos
|
Iframe</a> - Embed YouTube Videos
|
||||||
|
|
27
legend/index.html
Normal file
27
legend/index.html
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset='utf-8'>
|
||||||
|
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
|
||||||
|
<title>HTML Tips and Tricks - Legend</title>
|
||||||
|
<meta name='viewport' content='width=device-width, initial-scale=1'>
|
||||||
|
<link href="https://fonts.googleapis.com/css2?family=Chilanka&display=swap" rel="stylesheet">
|
||||||
|
<link rel='stylesheet' type='text/css' media='screen' href='../main.css'>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<div class="demo">
|
||||||
|
<fieldset>
|
||||||
|
<legend>Choose your favorite language</legend>
|
||||||
|
|
||||||
|
<input type="radio" id="php" name="language" value="P">
|
||||||
|
<label for="php">Php</label><br>
|
||||||
|
|
||||||
|
<input type="radio" id="Go" name="language" value="G">
|
||||||
|
<label for="Go">Go</label><br>
|
||||||
|
|
||||||
|
<input type="radio" id="javascript" name="language" value="J" />
|
||||||
|
<label for="javascript">JavaScript</label>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in a new issue