HTML
HTML
<a href="https://www.esoft.lk/"target="_blank">
HTML style Attribute
• The style attribute is used to provide various CSS effects to the
HTML elements such as increasing font-size, changing font-family,
coloring, etc.
<body>
<h2>Grocery list</h2>
<ul>
<li>Bread</li>
<li>Eggs</li>
<li>Milk</li>
<li>Coffee</li>
</ul>
</body>
• In an ordered list, all list items are marked with numbers
by default.
• An ordered list starts with the <ol> tag.
• Each list item starts with the “li” tag.
<form>
.
form elements
.
</form>
The <label> Element
• The <label> element is useful for screen-reader users, because
the screen-reader will read out loud the label when the user
focuses on the input element.
The <input> Element
• The HTML <input> element is the most used form element.