Académique Documents
Professionnel Documents
Culture Documents
<html>
<head>
<title></title>
</head>
<body>
<header>
<h1>
</h1>
<h3>
</h3>
</header>
</body>
</html>
<html>
<head>
<title></title>
</head>
<body>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
</ul>
</nav>
</body>
</html>
<html>
<head>
<title></title>
</head>
<body>
<article>
<h1>
heading
</h1>
<section>
<p>contents or image</p>
</section>
</article>
</body>
</html>
<article>
<h1>
heading
</h1>
<section>
<p>contents or image</p>
</section>
<aside>
<p>
</p>
</aside>
</article>
</body>
</audio>
</body>
Attributes of <audio>
Controls
Specifies that audio controls should be displayed.
Autoplay
Audio starts playing automatically.
Loop
Used to have the audio replay every time it is finished.
Attributes of <Video>
Controls
Specifies that Video controls should be displayed.
Autoplay
Video starts playing automatically.
Loop
Used to have the video replay every time it is finished.
<body>
</video>
</body>
Progress Bar:-
This creates progress bar on the web. The progress element can be used within heading, paragraphs,
or anywhere else in the body.
Attributes of Progress element
Value:- specifies how much task is completed.
Max:- specifies how much work the task requires in total.
<body>
</progress>
</body>
-Getting a value:
alert(localStorage,getItem(“key1”));
-Removing a Value:
localStorage.removeItem(“key1”);
Drawing a Circle:-
<svg width="1000" height="1000">
</svg>
</rect>
</body>
<label>Your name</label>
</form>
Placeholder:-
<form>
</form>
Autofocus:- This attribute makes the desired input focus when the form loads
Forms with Required Fields:-
<form autocomplete="off">
</form>
Search Options:-
<input id=”car” type=”text” list=”colors”>
<datalist id=”colors”>
<option value=”red”>
<option value=”green”>
<option value=”blue”>
</datalist>