ELEMENTS
Inputs and Labels
Declaration
form
- is a container for different types of input elements
label
- is a text associated with inputs
input
- an element that allows a user to enter data into a form
All types of inputs:
- button
- checkbox
- color
- date
- datetime-local
- email
- file
- hidden
- image
- month
- number
- password
- radio
- range
- reset
- search
- submit
- tel
- text
- time
- url
- week
Span
<span>
- is an inline container used to mark up a part of a text, or a part of a document.
<p>The pen is<span style="color:blue">blue</span></p>
Buttons
Declaration
of buttons
<button> Submit </button>
Types of Buttons
• submit
• reset
• button
Hyperlinks
Hyperlink
- also known as link or web link, it contains an adress and acts as a reference to data.
<a href="url">Text</a>
Lists
<ul>
- defines an unordered list
You need to use the <ul> tag togheter with the <li> tag
<li>
- defines an item from the list
<ol>
- defines an ordered list(numbered)
List Styles
type="none"
type="circle"
type="disc"
type="square"

All rights reserved.

Copyright © 2024 LearnSpace.