![]() |
Definition and Usage
The
This
For a
For an
For a
For a
For a Applies to
The
Browser Support
The
|
Example:
HTML
<form action="/action_page.php" method="get"> Choose your favorite subject: <button name="subject" type="submit" value="HTML">HTML</button> <button name="subject" type="submit" value="CSS">CSS</button>
</form>
Example:
HTML
<fieldset name="personalia"> Name: <input type="text"><br> Email: <input type="text"><br>
</fieldset>
Example:
HTML
<form action="/action_page.php" method="get" name="myForm"> First name: <input type="text" name="fname"><br> Last name: <input type="text" name="lname"><br> <input type="button" onclick="formSubmit()" value="Send form data!">
</form>
Example:
HTML
<iframe src="https://horje.com/" name="iframe_a">
<p>Your browser does not support iframes.</p>
</iframe>
</br>
<a href="https://horje.com/" target="iframe_a">Horje.com</a>
Example:
HTML
<form action="/action_page.php"> Name: <input type="text" name="fullname"><br> Email: <input type="text" name="email"><br> <input type="submit" value="Submit">
</form>
Example:
HTML
<img src="https://horje.com/avatar.png" alt="Workplace" usemap="#workmap" width="400" height="379">
<map name="workmap"> <area shape="rect" coords="34,44,270,350" alt="Computer" href="computer.htm"> <area shape="rect" coords="290,172,333,250" alt="Phone" href="phone.htm"> <area shape="circle" coords="337,300,44" alt="Cup of coffee" href="coffee.htm">
</map>
Example:
HTML
<head>
<meta name="description" content="Free Web tutorials">
<meta name="keywords" content="HTML,CSS,JavaScript">
<meta name="author" content="Hege Refsnes">
</head>
Example:
HTML
<object data="https://horje.com/avatar.png" name="obj1" width="300" height="200">
</object>
Example:
HTML
<form oninput="x.value=parseInt(a.value)+parseInt(b.value)">0 <input type="range" id="a" value="50">100 +<input type="number" id="b" value="50"> =<output name="x" for="a b"></output>
</form>
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The param element</h1>
<object data="https://download.samplelib.com/wav/sample-3s.wav">
<param name="autoplay" value="true">
</object>
</body>
</html>
Example:
HTML
<select name="cars"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="opel">Opel</option> <option value="audi">Audi</option>
</select>
Example:
HTML
<form action="/action_page.php"> <textarea name="comment">Enter text here...</textarea> <input type="submit">
</form>
Type
: |
Develop |
Category
: |
Web Tutorial |
Sub Category
: |
HTML Attribute |
Uploaded by
: |
Admin |
Read Article https://horje.com/learn/1434/reference