HTML Notes For Students
HTML Notes For Students
Line Break Tag:- The <br> tag inserts a single line break. The <br> tag is
useful for writing addresses or poems. The <br> tag is an empty tag which means that
it has no end tag.
<br>
Image Tag:-the <img> tag is used to embed images into web pages.
HTML Block Elements:- You already know about HTML inline elements. All
HTML tags have specific display behavior: they are either block-level elements or
inline elements.
• It always start from new line.
HTML Unordered List:- An unordered list is a list of items that are not
arranged in any specific, sequential order.
<ul>
<li>Pen</li>
<li>Pencil</li>
<li>Eraser</li>
</ul>
You can specify the style of bullet points using the type attribute. It
supports three values:
•disc - default bullet style
•square
<ul type="square">
•circle
<li>Notebook</li>
<li>Marker</li>
</ul>
HTML Ordered List:-An ordered list is a list of items that are arranged in
a specific, sequential order.
<ol>
<li>Mango</li>
<li>Orange</li>
<li>Litchi</li>
</ol>
Text Input:-The text input type is the most basic form of input and is widely
used for collecting simple text data.
In the above example, the placeholder attribute provides a hint to the user about
what to enter.
Password Input:- The password input type is similar to the text type but
hides the characters entered by the user for security reasons.
Checkbox:- Checkboxes allow the user to select multiple options from a set.
The Textarea Element:- The textarea element is used when you need
multiline text input from the user.
<select name="fruits">
<option value="apple">Apple</option>
<option value="banana">Banana</option>
<option value="cherry">Cherry</option>
</select>
File upload input:- it use to upload file and photo from the device.
The <video> Tag :- The <video> tag is used to embed video files in an HTML
document. It supports multiple attributes to control the video playback.