An <object> element located outside a form (but still a part of the form).
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The object form attribute</h1>
<form action="/action_page.php" id="form1">
First name: <input type="text" name="fname"><br>
<input type="submit" value="Submit">
</form>
<object data="https://horje.com/avatar.png" width="300" height="200"></object>
<p><b>Note:</b> The form attribute is not supported in any of the major browsers.</p>
</body>
</html>
Type: | Html |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded by: | Admin |