Chapter 20: Sectioning Elements
Nav Element The <nav> element is primarily intended to be used for sections that contain main navigation blocks for the website, this can include links to other parts of the…
Nav Element The <nav> element is primarily intended to be used for sections that contain main navigation blocks for the website, this can include links to other parts of the…
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…
Recently, whilst working on a project I needed to take HTML FormData and then convert it to JSON to be sent off to an API. By default the FormData object…
In this tutorial I’ve setup an example of how to add an animated sticky header to a website using almost pure CSS with just a touch of javascript. The header…