HTML Chet Sheet
<!doctype html>
<html>
<head>
<title>Home</title>
</head>
<body>
<!--This is heading -->
<h1>Heading 1 by using h1 tag</h1>
<h2>Heading 2 by using h2 tag</h2>
<h3>Heading 3 by using h3 tag</h3>
<h4>Heading 4 by using h4 tag</h4>
<h5>Heading 5 by using h5 tag</h5>
<h6>Heading 6 by using h6 tag</h6>
<!--This is Paragraph -->
<p>HTML attributes are special words used inside the opening tag to control the element's behaviour. HTML attributes are a modifier of an HTML element type. An attribute either modifies the default functionality of an element type or provides functionality to certain element types unable to function correctly without them. In HTML syntax, an attribute is added to an HTML start tag.<br/>
<br/>
Several basic attributes types have been recognized, including: (1) required attributes, needed by a particular element type for that element type to function correctly; (2) optional attributes, used to modify the default functionality of an element type; (3) standard attributes, supported by many element types; and (4) event attributes, used to cause element types to specify scripts to be run under specific circumstances.
Some attribute types function differently when used to modify different element types. For example, the attribute name is used by several element types, but has slightly different functions in each.[1]</p>
<!--This is Order list -->
<ol type="A">
<li>Html</li>
<li>CSS</li>
<li>JavaScript</li>
<li>PHP</li>
</ol>
<!--This is Unorder List-->
<ul>
<li>Html</li>
<li>CSS</li>
<li>JavaScript</li>
<li>PHP</li>
</ul>
<!--This is Table-->
<center>
<table border="5px">
<caption>Office</caption>
<tr>
<th>Name</th>
<th>Company</th>
<th>Role</th>
</tr>
<tr>
<td>Arslan</td>
<td>Citi Solution</td>
<td>CEO</td>
</tr>
<tr>
<td>Saqib</td>
<td>Citi Solution</td>
<td>Develper</td>
</tr>
<tr>
<td>Ali</td>
<td>Citi Solution</td>
<td>Sales Man</td>
</tr>
<tr>
<td>Arif</td>
<td>Citi Solution</td>
<td>Sales Man</td>
</tr>
</table>
</center>
<form>
Enter you Email: <input type="email">
<br/>
Enter you Password: <input type="password">
<br/>
Enter you comment: <input type="Comment">
<button>
Submit your form
</button>
</form>
<img src="https://miro.medium.com/max/2400/1*btGyl3NCaO-QKLxq8KEDCA.png">
<a href=""></a>
</body>
</html>
No comments:
Post a Comment