際際滷

際際滷Share a Scribd company logo
HTML
Basic HTML
 HTML document
 <!DOCTYPE html>
 HTML headings
 <h1> to <h6>
 HTML paragraphs
 <p> </p>
 HTML links
 <a>
 HTML images
 <img>
HTML Attributes
Attribute Description
alt Specifies an alternative text for an image
disabled Specifies that an input element should be disabled
href Specifies the URL (web address) for a link
id Specifies a unique id for an element
src Specifies the URL (web address) for an image
style Specifies an inline CSS style for an element
title Specifies extra information about an element (displayed as a tool tip)
value Specifies the value (text content) for an input element.
HTML Headings
Tag Description
<html> Defines an HTML document
<body> Defines the document's body
<head> Defines the document's head element
<h1> to <h6> Defines HTML headings
<hr> Defines a horizontal line
HTML Paragraphs
Tag Description
<p> Defines a paragraph
<br> Inserts a single line break
<pre> Defines pre-formatted text
HTML Styles
 style attribute for styling HTML elements
 background-color for background color
 color for text colors
 font-family for text fonts
 font-size for text sizes
 text-align for text alignment
HTML Text Formatting Elements
Tag Description
<b> Defines bold text
<em> Defines emphasized text
<i> Defines italic text
<small> Defines smaller text
<strong> Defines important text
<sub> Defines subscripted text
<sup> Defines superscripted text
<ins> Defines inserted text
<del> Defines deleted text
<mark> Defines marked/highlighted text
HTML Quotation and Citation Elements
Tag Description
<abbr> Defines an abbreviation or acronym
<address> Defines contact information for the author/owner of a
document
<bdo> Defines the text direction
<blockquote> Defines a section that is quoted from another source
<cite> Defines the title of a work
<q> Defines a short inline quotation
HTML Styles - CSS
 HTML style attribute for inline styling
 HTML <style> element to define internal CSS
 HTML <link> element to refer to an external CSS file
 HTML <head> element to store <style> and <link>
elements
 CSS color property for text colors
 CSS font-family property for text fonts
 CSS font-size property for text sizes
 CSS border property for visible element borders
 CSS padding property for space inside the border
 CSS margin property for space outside the border
HTML Links
 <a> element to define a link
 href attribute to define the link address
 target attribute to define where to open the
linked document
 <img> element (inside <a>) to use an image as a
link
 id attribute (id="value") to define bookmarks in a
page
 href attribute (href="#value") to link to the
bookmark
target attribute
Target Value Description
_blank Opens the linked document in a new window or tab
_self Opens the linked document in the same frame as it was clicked (this
is default)
_parent Opens the linked document in the parent frame
_top Opens the linked document in the full body of the window
framename Opens the linked document in a named frame
HTML Images
 HTML <img> element to define an image
 HTML src attribute to define the URL of the image
 HTML alt attribute to define an alternate text for an image, if it
cannot be displayed
 HTML width and height attributes to define the size of the image
 CSS width and height properties to define the size of the image
 CSS float property to let the image float
 HTML <map> element to define an image-map
 HTML <area> element to define the clickable areas in the image-
map
 HTML <img>'s element usemap attribute to point to an image-
map
HTML Table Tags
 HTML <table> element to define a table
 HTML <tr> element to define a table row
 HTML <td> element to define a table data
 HTML <th> element to define a table heading
 HTML <caption> element to define a table caption
 CSS border property to define a border
 CSS border-collapse property to collapse cell borders
 CSS padding property to add padding to cells
 CSS text-align property to align cell text
 CSS border-spacing property to set the spacing between cells
 colspan attribute to make a cell span many columns
 rowspan attribute to make a cell span many rows
 id attribute to uniquely define one table
Tag Description
<table> Defines a table
<th> Defines a header cell in a table
<tr> Defines a row in a table
<td> Defines a cell in a table
<caption> Defines a table caption
<colgroup> Specifies a group of one or more columns in
a table for formatting
<col> Specifies column properties for each
column within a <colgroup> element
<thead> Groups the header content in a table
<tbody> Groups the body content in a table
<tfoot> Groups the footer content in a table
HTML Table Tags
HTML List Tags
 HTML <ul> element to define an unordered list
 HTML style attribute to define the bullet style
 HTML <ol> element to define an ordered list
 HTML type attribute to define the numbering type
 HTML <li> element to define a list item
 HTML <dl> element to define a description list
 HTML <dt> element to define the description term
 HTML <dd> element to define the description data
 Lists can be nested inside lists
 List items can contain other HTML elements
 CSS property display:inline to display a list horizontally
Unordered HTML Lists - The Style Attribute
Style Description
list-style-type:disc The list items will be marked with bullets (default)
list-style-type:circle The list items will be marked with circles
list-style-type:square The list items will be marked with squares
list-style-type:none The list items will not be marked
Ordered HTML Lists - The Type Attribute
Type Description
type="1" The list items will be numbered with numbers (default)
type="A" The list items will be numbered with uppercase letters
type="a" The list items will be numbered with lowercase letters
type="I" The list items will be numbered with uppercase roman numbers
type="i" The list items will be numbered with lowercase roman numbers
HTML Block and Inline Elements
 Block-level Elements
 A block-level element always starts on a new line and takes
up the full width available (stretches out to the left and
right as far as it can).
 Examples of block-level elements:
 <div> <h1> - <h6> <p> <form>
 Inline Elements
 An inline element does not start on a new line and only
takes up as much width as necessary.
 Examples of inline elements:
 <span> <a> <img>
 HTML Classes
 Classing Block Elements
 Classing Inline Elements
 HTML Layouts
 HTML Layout Using <div> Elements
 HTML Layout Using Tables
 HTML iframe
 Syntax:- <iframe src=/SadeekMohammed/html-53569009/"URL"></iframe>
 Use iframe as a Target for a Link
 <iframe src="demo_iframe.htm" name="iframe_a"></iframe>
<p><a href="http://www.w3schools.com" target="iframe_a">
W3Schools.com</a></p>
HTML Forms
 The <input> element is the most important form element.
 The <input> element has many variations, depending on the type
attribute.
Attribute of FORM Description
accept-charset Specifies the charset used in the submitted form (default: the page
charset).
action Specifies an address (url) where to submit the form (default: the
submitting page).
autocomplete Specifies if the browser should autocomplete the form (default: on).
enctype Specifies the encoding of the submitted data (default: is url-encoded).
method Specifies the HTTP method used when submitting the form (default:
GET).
name Specifies a name used to identify the form (for DOM usage:
document.forms.name).
novalidate Specifies that the browser should not validate the form.
target Specifies the target of the address in the action attribute (default: _self).
HTML Form Elements
Tag Description
<form> Defines an HTML form for user input
<input> Defines an input control
<textarea> Defines a multiline input control (text area)
<label> Defines a label for an <input> element
<fieldset> Groups related elements in a form
<select> Defines a drop-down list
<option> Defines an option in a drop-down list
<button> Defines a clickable button
HTML Input Types
 Input type text
 Input type password
 Input type radio
 Input type checkbox
 Input type button
 Input type number - with
restrictions
 Input type number - with steps
 Input type date - with date
picker
 Input type date - with
restrictions
 Input type color - with color
picker
 Input type range
 Input type month
 Input type week
 Input type time
 Input type datetime
 Input type datetime-local
 Input type email
 Input type search
 Input type tel
 Input type url
HTML Input Attributes
 The value Attribute
 The name Attribute
 The ID Attribute
 The readonly Attribute
 The disabled Attribute
 The size Attribute
 The maxlength Attribute
Ad

Recommended

Active x control
Active x control
Amandeep Kaur
Data types in c++
Data types in c++
RushikeshGaikwad28
Enumeration type
Enumeration type
MariamS99
How the internet works
How the internet works
ftcim
Python list
Python list
Mohammed Sikander
History of computer
History of computer
Multinet Pakistan (Private) Limited
HTML Basic Tags
HTML Basic Tags
Nisa Soomro
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Basic of HTML, CSS(StyleSheet), JavaScript(js), Bootstrap, JSON & AngularJS
Deepak Upadhyay
Lab1_HTML.pptx
Lab1_HTML.pptx
IslamGhonimi1
Html starting
Html starting
Rahul Dihora
Html
Html
Kamal Acharya
Introduction to Web Techniques_Key componenets_HTML Basics
Introduction to Web Techniques_Key componenets_HTML Basics
DeepakUlape2
website design mark-up with HTML 5 .pptx
website design mark-up with HTML 5 .pptx
geremilibrary
content creator passionate about architecture, culture, and design.
content creator passionate about architecture, culture, and design.
Suma Angari
HTML FOR BEGINNERS AND FOR PRACTICE .pdf
HTML FOR BEGINNERS AND FOR PRACTICE .pdf
Arun Karthik
HTML - LinkedIn
HTML - LinkedIn
Gino Louie Pe単a, ITIL速,MOS速
Html
Html
Jyotishankar Mohanty
Web(chap2)
Web(chap2)
Jafar Nesargi
HTML - part 1
HTML - part 1
Fahad Masood
The Complete HTML
The Complete HTML
Rohit Buddabathina
Html & Html5 from scratch
Html & Html5 from scratch
Ahmad Al-ammar
Html
Html
EPAM Systems
Frontend Devlopment internship batch 2024-2.pptx
Frontend Devlopment internship batch 2024-2.pptx
bankheleom
Frontend Devlopment internship batch 2024.pptx
Frontend Devlopment internship batch 2024.pptx
bankheleom
web unit 2_4338494_2023_08_14_23_11.pptx
web unit 2_4338494_2023_08_14_23_11.pptx
Chan24811
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
HTML.pptx
HTML.pptx
DipaliJagtap6
WEB DESIGNING.pdf
WEB DESIGNING.pdf
Prof. Dr. K. Adisesha
Tally.ERP 9 at a Glance.book - Tally Solutions .pdf
Tally.ERP 9 at a Glance.book - Tally Solutions .pdf
Shabista Imam
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst

More Related Content

Similar to Html (20)

Lab1_HTML.pptx
Lab1_HTML.pptx
IslamGhonimi1
Html starting
Html starting
Rahul Dihora
Html
Html
Kamal Acharya
Introduction to Web Techniques_Key componenets_HTML Basics
Introduction to Web Techniques_Key componenets_HTML Basics
DeepakUlape2
website design mark-up with HTML 5 .pptx
website design mark-up with HTML 5 .pptx
geremilibrary
content creator passionate about architecture, culture, and design.
content creator passionate about architecture, culture, and design.
Suma Angari
HTML FOR BEGINNERS AND FOR PRACTICE .pdf
HTML FOR BEGINNERS AND FOR PRACTICE .pdf
Arun Karthik
HTML - LinkedIn
HTML - LinkedIn
Gino Louie Pe単a, ITIL速,MOS速
Html
Html
Jyotishankar Mohanty
Web(chap2)
Web(chap2)
Jafar Nesargi
HTML - part 1
HTML - part 1
Fahad Masood
The Complete HTML
The Complete HTML
Rohit Buddabathina
Html & Html5 from scratch
Html & Html5 from scratch
Ahmad Al-ammar
Html
Html
EPAM Systems
Frontend Devlopment internship batch 2024-2.pptx
Frontend Devlopment internship batch 2024-2.pptx
bankheleom
Frontend Devlopment internship batch 2024.pptx
Frontend Devlopment internship batch 2024.pptx
bankheleom
web unit 2_4338494_2023_08_14_23_11.pptx
web unit 2_4338494_2023_08_14_23_11.pptx
Chan24811
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah
HTML.pptx
HTML.pptx
DipaliJagtap6
WEB DESIGNING.pdf
WEB DESIGNING.pdf
Prof. Dr. K. Adisesha
Introduction to Web Techniques_Key componenets_HTML Basics
Introduction to Web Techniques_Key componenets_HTML Basics
DeepakUlape2
website design mark-up with HTML 5 .pptx
website design mark-up with HTML 5 .pptx
geremilibrary
content creator passionate about architecture, culture, and design.
content creator passionate about architecture, culture, and design.
Suma Angari
HTML FOR BEGINNERS AND FOR PRACTICE .pdf
HTML FOR BEGINNERS AND FOR PRACTICE .pdf
Arun Karthik
Html & Html5 from scratch
Html & Html5 from scratch
Ahmad Al-ammar
Frontend Devlopment internship batch 2024-2.pptx
Frontend Devlopment internship batch 2024-2.pptx
bankheleom
Frontend Devlopment internship batch 2024.pptx
Frontend Devlopment internship batch 2024.pptx
bankheleom
web unit 2_4338494_2023_08_14_23_11.pptx
web unit 2_4338494_2023_08_14_23_11.pptx
Chan24811
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
Fahim Abdullah

Recently uploaded (20)

Tally.ERP 9 at a Glance.book - Tally Solutions .pdf
Tally.ERP 9 at a Glance.book - Tally Solutions .pdf
Shabista Imam
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst
Industrial internet of things IOT Week-3.pptx
Industrial internet of things IOT Week-3.pptx
KNaveenKumarECE
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
Abraham Silberschatz-Operating System Concepts (9th,2012.12).pdf
Abraham Silberschatz-Operating System Concepts (9th,2012.12).pdf
Shabista Imam
Industry 4.o the fourth revolutionWeek-2.pptx
Industry 4.o the fourth revolutionWeek-2.pptx
KNaveenKumarECE
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
rr22001247
How to Un-Obsolete Your Legacy Keypad Design
How to Un-Obsolete Your Legacy Keypad Design
Epec Engineered Technologies
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
resming1
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
Shabista Imam
Call For Papers - 17th International Conference on Wireless & Mobile Networks...
Call For Papers - 17th International Conference on Wireless & Mobile Networks...
hosseinihamid192023
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
moonsony54
Learning Types of Machine Learning Supervised Learning Unsupervised UNI...
Learning Types of Machine Learning Supervised Learning Unsupervised UNI...
23Q95A6706
60 Years and Beyond eBook 1234567891.pdf
60 Years and Beyond eBook 1234567891.pdf
waseemalazzeh
Deep Learning for Image Processing on 16 June 2025 MITS.pptx
Deep Learning for Image Processing on 16 June 2025 MITS.pptx
resming1
machine learning is a advance technology
machine learning is a advance technology
ynancy893
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Mark Billinghurst
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
AlqualsaDIResearchGr
Tally.ERP 9 at a Glance.book - Tally Solutions .pdf
Tally.ERP 9 at a Glance.book - Tally Solutions .pdf
Shabista Imam
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Rapid Prototyping for XR: Lecture 5 - Cross Platform Development
Mark Billinghurst
Industrial internet of things IOT Week-3.pptx
Industrial internet of things IOT Week-3.pptx
KNaveenKumarECE
Complete University of Calculus :: 2nd edition
Complete University of Calculus :: 2nd edition
Shabista Imam
Abraham Silberschatz-Operating System Concepts (9th,2012.12).pdf
Abraham Silberschatz-Operating System Concepts (9th,2012.12).pdf
Shabista Imam
Industry 4.o the fourth revolutionWeek-2.pptx
Industry 4.o the fourth revolutionWeek-2.pptx
KNaveenKumarECE
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
LECTURE 7 COMPUTATIONS OF LEVELING DATA APRIL 2025.pptx
rr22001247
Microwatt: Open Tiny Core, Big Possibilities
Microwatt: Open Tiny Core, Big Possibilities
IBM
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
resming1
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
FUNDAMENTALS OF COMPUTER ORGANIZATION AND ARCHITECTURE
Shabista Imam
Call For Papers - 17th International Conference on Wireless & Mobile Networks...
Call For Papers - 17th International Conference on Wireless & Mobile Networks...
hosseinihamid192023
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
Tesla-Stock-Analysis-and-Forecast.pptx (1).pptx
moonsony54
Learning Types of Machine Learning Supervised Learning Unsupervised UNI...
Learning Types of Machine Learning Supervised Learning Unsupervised UNI...
23Q95A6706
60 Years and Beyond eBook 1234567891.pdf
60 Years and Beyond eBook 1234567891.pdf
waseemalazzeh
Deep Learning for Image Processing on 16 June 2025 MITS.pptx
Deep Learning for Image Processing on 16 June 2025 MITS.pptx
resming1
machine learning is a advance technology
machine learning is a advance technology
ynancy893
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Rapid Prototyping for XR: Lecture 4 - High Level Prototyping.
Mark Billinghurst
Machine Learning - Classification Algorithms
Machine Learning - Classification Algorithms
resming1
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
Generative AI & Scientific Research : Catalyst for Innovation, Ethics & Impact
AlqualsaDIResearchGr
Ad

Html

  • 2. Basic HTML HTML document <!DOCTYPE html> HTML headings <h1> to <h6> HTML paragraphs <p> </p> HTML links <a> HTML images <img>
  • 3. HTML Attributes Attribute Description alt Specifies an alternative text for an image disabled Specifies that an input element should be disabled href Specifies the URL (web address) for a link id Specifies a unique id for an element src Specifies the URL (web address) for an image style Specifies an inline CSS style for an element title Specifies extra information about an element (displayed as a tool tip) value Specifies the value (text content) for an input element.
  • 4. HTML Headings Tag Description <html> Defines an HTML document <body> Defines the document's body <head> Defines the document's head element <h1> to <h6> Defines HTML headings <hr> Defines a horizontal line
  • 5. HTML Paragraphs Tag Description <p> Defines a paragraph <br> Inserts a single line break <pre> Defines pre-formatted text
  • 6. HTML Styles style attribute for styling HTML elements background-color for background color color for text colors font-family for text fonts font-size for text sizes text-align for text alignment
  • 7. HTML Text Formatting Elements Tag Description <b> Defines bold text <em> Defines emphasized text <i> Defines italic text <small> Defines smaller text <strong> Defines important text <sub> Defines subscripted text <sup> Defines superscripted text <ins> Defines inserted text <del> Defines deleted text <mark> Defines marked/highlighted text
  • 8. HTML Quotation and Citation Elements Tag Description <abbr> Defines an abbreviation or acronym <address> Defines contact information for the author/owner of a document <bdo> Defines the text direction <blockquote> Defines a section that is quoted from another source <cite> Defines the title of a work <q> Defines a short inline quotation
  • 9. HTML Styles - CSS HTML style attribute for inline styling HTML <style> element to define internal CSS HTML <link> element to refer to an external CSS file HTML <head> element to store <style> and <link> elements CSS color property for text colors CSS font-family property for text fonts CSS font-size property for text sizes CSS border property for visible element borders CSS padding property for space inside the border CSS margin property for space outside the border
  • 10. HTML Links <a> element to define a link href attribute to define the link address target attribute to define where to open the linked document <img> element (inside <a>) to use an image as a link id attribute (id="value") to define bookmarks in a page href attribute (href="#value") to link to the bookmark
  • 11. target attribute Target Value Description _blank Opens the linked document in a new window or tab _self Opens the linked document in the same frame as it was clicked (this is default) _parent Opens the linked document in the parent frame _top Opens the linked document in the full body of the window framename Opens the linked document in a named frame
  • 12. HTML Images HTML <img> element to define an image HTML src attribute to define the URL of the image HTML alt attribute to define an alternate text for an image, if it cannot be displayed HTML width and height attributes to define the size of the image CSS width and height properties to define the size of the image CSS float property to let the image float HTML <map> element to define an image-map HTML <area> element to define the clickable areas in the image- map HTML <img>'s element usemap attribute to point to an image- map
  • 13. HTML Table Tags HTML <table> element to define a table HTML <tr> element to define a table row HTML <td> element to define a table data HTML <th> element to define a table heading HTML <caption> element to define a table caption CSS border property to define a border CSS border-collapse property to collapse cell borders CSS padding property to add padding to cells CSS text-align property to align cell text CSS border-spacing property to set the spacing between cells colspan attribute to make a cell span many columns rowspan attribute to make a cell span many rows id attribute to uniquely define one table
  • 14. Tag Description <table> Defines a table <th> Defines a header cell in a table <tr> Defines a row in a table <td> Defines a cell in a table <caption> Defines a table caption <colgroup> Specifies a group of one or more columns in a table for formatting <col> Specifies column properties for each column within a <colgroup> element <thead> Groups the header content in a table <tbody> Groups the body content in a table <tfoot> Groups the footer content in a table HTML Table Tags
  • 15. HTML List Tags HTML <ul> element to define an unordered list HTML style attribute to define the bullet style HTML <ol> element to define an ordered list HTML type attribute to define the numbering type HTML <li> element to define a list item HTML <dl> element to define a description list HTML <dt> element to define the description term HTML <dd> element to define the description data Lists can be nested inside lists List items can contain other HTML elements CSS property display:inline to display a list horizontally
  • 16. Unordered HTML Lists - The Style Attribute Style Description list-style-type:disc The list items will be marked with bullets (default) list-style-type:circle The list items will be marked with circles list-style-type:square The list items will be marked with squares list-style-type:none The list items will not be marked Ordered HTML Lists - The Type Attribute Type Description type="1" The list items will be numbered with numbers (default) type="A" The list items will be numbered with uppercase letters type="a" The list items will be numbered with lowercase letters type="I" The list items will be numbered with uppercase roman numbers type="i" The list items will be numbered with lowercase roman numbers
  • 17. HTML Block and Inline Elements Block-level Elements A block-level element always starts on a new line and takes up the full width available (stretches out to the left and right as far as it can). Examples of block-level elements: <div> <h1> - <h6> <p> <form> Inline Elements An inline element does not start on a new line and only takes up as much width as necessary. Examples of inline elements: <span> <a> <img>
  • 18. HTML Classes Classing Block Elements Classing Inline Elements HTML Layouts HTML Layout Using <div> Elements HTML Layout Using Tables HTML iframe Syntax:- <iframe src=/SadeekMohammed/html-53569009/"URL"></iframe> Use iframe as a Target for a Link <iframe src="demo_iframe.htm" name="iframe_a"></iframe> <p><a href="http://www.w3schools.com" target="iframe_a"> W3Schools.com</a></p>
  • 19. HTML Forms The <input> element is the most important form element. The <input> element has many variations, depending on the type attribute. Attribute of FORM Description accept-charset Specifies the charset used in the submitted form (default: the page charset). action Specifies an address (url) where to submit the form (default: the submitting page). autocomplete Specifies if the browser should autocomplete the form (default: on). enctype Specifies the encoding of the submitted data (default: is url-encoded). method Specifies the HTTP method used when submitting the form (default: GET). name Specifies a name used to identify the form (for DOM usage: document.forms.name). novalidate Specifies that the browser should not validate the form. target Specifies the target of the address in the action attribute (default: _self).
  • 20. HTML Form Elements Tag Description <form> Defines an HTML form for user input <input> Defines an input control <textarea> Defines a multiline input control (text area) <label> Defines a label for an <input> element <fieldset> Groups related elements in a form <select> Defines a drop-down list <option> Defines an option in a drop-down list <button> Defines a clickable button
  • 21. HTML Input Types Input type text Input type password Input type radio Input type checkbox Input type button Input type number - with restrictions Input type number - with steps Input type date - with date picker Input type date - with restrictions Input type color - with color picker Input type range Input type month Input type week Input type time Input type datetime Input type datetime-local Input type email Input type search Input type tel Input type url
  • 22. HTML Input Attributes The value Attribute The name Attribute The ID Attribute The readonly Attribute The disabled Attribute The size Attribute The maxlength Attribute