Chapter 19: Div Element
The div element in HTML is a container element that encapsulates other elements and can be used to group andseparate parts of a webpage. A div by itself does not…
The div element in HTML is a container element that encapsulates other elements and can be used to group andseparate parts of a webpage. A div by itself does not…
Attribute Description accept-charset Specifies the character encodings that are to be used for the form submission. action Specifies where to send the form-data when a form is submitted. autocomplete Specifies…
Parameter Details class Indicates the Class of the input id ndicates the ID of the input type Identifies the type of input control to display. Acceptable values are hidden, text,…
Tag/Attribute Value <img> Below are the image map-specific attributes to use with <img>. Regular <img> attributes apply. usemap The name of the map with a hash symbol prepended to it.…
Parameters Details src Specifies the URL of the image srcset Images to use in different situations (e.g., high-resolution displays, small monitors, etc) sizes Image sizes between breakpoints crossorigin How the…
CSS provides styles to HTML elements on the page. Inline styling involves usage of the style attribute in tags, and is highly discouraged. Internal stylesheets use the <style> tag and…
Attribute Details src Specifies the path to a JavaScript file. Either a relative or absolute URL. type Specifies the MIME type. This attribute is required in HTML4, but optional in…
Attribute Details charset Specifies the character encoding of the linked document crossorigin Specifies how the element handles cross origin requests href Specifies the location of the linked document hreflang Specifies…
Value Description some value Specifies the value of the attribute (as a string) Older browsers support Data attributes were introduced in HTML5 which is supported by all modern browsers, but…
Parameters Details class Indicates the Class of the element (non-unique) id Indicates the ID of the element (unique in the same context) Classes and IDs make referencing HTML elements from…
TABLES The HTML <table> element allows web authors to display tabular data (such as text, images, links, other tables,etc.) in a two-dimensional table with rows and columns of cells.
HTML offers three ways for specifying lists: ordered lists, unordered lists, and description lists. Ordered lists use ordinal sequences to indicate the order of list elements, unordered lists use a…