<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
</body>
</html>
<h1>Heading</h1>
<h2>Heading</h2>
<h3>Heading</h3>
<h4>Heading</h4>
<h5>Heading</h5>
<h6>Heading</h6>
<div>Div</div>
<p>Paragraph</p>
<span>Span</span>
<b>Bold</b>
<strong>Strong</strong>
<i>Italic</i>
<em>Emphasized text</em>
<small>Small</small>
<big>Big</big>
<sub>Subscript</sub>
<sup>Superscript</sup>
<img src="imgname_png" alt="">
<pre>Hello,everyone</pre>
<ol>
<li>Ordered list</li>
<li>Ordered list</li>
<li>Ordered list</li>
<li>Ordered list</li>
</ol>
<ul>
<li>Unordered list</li>
<li>Unordered list</li>
<li>Unordered list</li>
<li>Unordered list</li>
</ul>
<table>
<caption>Table</caption>
<thead>
<tr>
<th>Column</th>
<th colspan="2">Column2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
<tr>
<td>Data</td>
<td>Data</td>
<td>Data</td>
</tr>
</tbody>
<tfoot>
<tr>
<td> </td>
<td>Data</td>
<td>Data</td>
</tr>
</tfoot>
</table>
<form action="/action.php" method="post">
Name: <input name="name" type="text" /> <br />
Age: <input max="80" min="1" name="age" step="1" type="number" value="18" /> <br />
<select name="gender">
<option selected="selected" value="male">Male</option>
<option value="female">Female</option>
</select><br />
<input checked="checked" name="newsletter" type="radio" value="daily" /> Daily <input name="newsletter"
type="radio" value="weekly" /> Weekly<br />
<textarea cols="20" name="comments" rows="5">Comment</textarea><br />
<label><input name="terms" type="checkbox" value="tandc" />Accept terms</label> <br />
<input type="submit" value="Submit" />
</form>
<article>This is article</article>
<section>This is section</section>
<link rel="stylesheet" href="style.css">
<script src="script.js"></script>
<marquee behavior="scroll" direction="left">Hello</marquee>
*{
margin:0;
padding:0;
box-sizing:border-box;
}
font-size: 16px;
font-weight: 500;
font-family: 'Courier New', Courier, monospace;
display: none;
display: flex;
display: block;
flex-direction: row;
flex-direction: column;
text-transform: uppercase;
line-height: 80px;
text-align: center;
justify-content: center;
align-items: center;
letter-spacing: 0.3rem;
word-spacing: 2px;
color: red;
background: black;
background-color: yellow;
background-size: cover;
background-repeat: no-repeat;
background-image: url('bg.png');
box-shadow: 3px 4px 4px rgb(65, 63, 63);
max-width: 991px;
max-height: 888px;
min-width: 300px;
min-height: 200px;
overflow: hidden;
overflow: auto;
overflow: scroll;
visibility: hidden;
opacity: 3;
text-decoration: none;
list-style: none;
position: absolute;
position: relative;
position: fixed;
position: sticky;
border: 2px solid black;
border-radius: 50%;
border-color: red;
border-collapse: seperate;
float: right;
float: left;
height: 100vh;
width: 100vh;
left: 50%;
top: 50%;
right: 50%;
bottom: 50%;
margin: 0 0 0 0;
padding: 0 0 0 0;
margin-top: 0px;
margin-bottom: 0px;
margin-left: 0px;
margin-right: 0px;
padding-top: 0px;
padding-bottom: 0px;
padding-left: 0px;
padding-right: 0px;
z-index: -1;
body{
height: 100vh;
display: flex;
align-items: center;
justify-Content: center;
}
function functionName(){
//your code goes here
}
document.getElementById('idname');
document.getElementByClassName('classname');
document.getElementByTagName('tagname');
document.querySelector('name');
document.createElement('p');
document.createTextNode('your text');
console.log('hello');
if(condition){
//this code executed if the condition is true
}
if(condition1){
//this code executed if the condition is true
}
else{
//this code executed if the condition1 is false
}
if(condition){
//this code executed if the condition is true
}
else if(condition2){
//this code executed if the condition1 is false
}
else{
//this code executed if the condition1 and 2 is false
}
switch(expression){
case 1:
//code
break;
case 2:
//code
break;
case 3:
//code
break;
default:
//code
}
for(statement 1; statement 2; statement 3;){
//your code goes header
}
while(condition){
//code
}
do{
//code
i++;
} while(condition);
Math.floor(Math.random()*100+1);
elem.addEventListener('click',function(){
//Code
})
elem.addEventListener('mouseenter',function(){
//Code
})
elem.addEventListener('dblclick',function(){
//Code
})
elem.addEventListener('mouseleave',function(){
//Code
})
elem.addEventListener('mousemove',function(){
//Code
})
elem.addEventListener('keydown',function(){
//Code
})
elem.addEventListener('keypress',function(){
//Code
})
elem.addEventListener('keyup',function(){
//Code
})
alert()
blur()
setInterval(()=>{
//code
},1000)
clearInterval()
setTimeout(()=>{
//code
})
clearTimeout()
confirm('Do you want to confirm');
open('https://www.youtube.com');
let username = prompt("what's your usename?");
scrollBy(50,0);
scrollTo(300,0);
try{
//code to try
}
catch(err){
//code to handle error
}