
Agar aap HTML seekh rahe ho, toh Forms, Tables, aur Lists teen important elements hain jo aapko zaroor aane chahiye. Ye teenon web development me bahut use hote hain. Chaliye, inka simple aur clear explanation dekhte hain.
Form ek HTML element hota hai jiske through user data submit kar sakta hai, jaise ki name, email, feedback, login details, etc.
<form>
<label>Name:</label>
<input type=”text” name=”name”><br><br>
<label>Email:</label>
<input type=”email” name=”email”><br><br>
<input type=”submit” value=”Submit”>
</form>
Table ka use tab hota hai jab hume data ko rows aur columns me show karna hota hai. Jaise school ki marksheet, product list, etc.
<table border=”1″>
<tr>
<th>Name</th>
<th>Age</th>
<th>City</th>
</tr>
<tr>
<td>Rahul</td>
<td>25</td>
<td>Lucknow</td>
</tr>
<tr>
<td>Priya</td>
<td>22</td>
<td>Delhi</td>
</tr>
</table>
Lists ka use items ko ek sequence ya points ke form me dikhane ke liye hota hai. Lists do tarah ki hoti hain – ordered aur unordered.
<ol>
<li>HTML</li>
<li>CSS</li>
<li>JavaScript</li>
</ol>
<ul>
<li>Pizza</li>
<li>Burger</li>
<li>Pasta</li>
</ul>
Techy Notes पर पाएँ आसान हिंदी में computer notes in hindi और IT company interview questions, जिससे तैयारी हो असरदार और आसान हर छात्र के लिए।
© 2024 Created By Himanshu Nigam