CSS

Chapter 24: Void Elements

Not all HTML tags are of the same structure. While most elements require an opening tag, a closing tag, andcontents, some elements – known as void elements – only require…

July 13, 2021 Read More
CSS

Chapter 23: Output Element

Attribute Description Global Attributes that are available to any HTML5 element. For comprehensive documentation of theseattributes see: MDN Global attributes name A string representing the name of an output. As…

July 12, 2021 Read More
CSS

Chapter 22: Label Element

Attributes Description for Reference to the target ID Element. I.e: for=”surname” form HTML5, [Obsolete] Reference to the form containing the Target Element. Label elements are expected within a <form> Element.…

July 12, 2021 Read More
CSS

Chapter 21: Navigation Bars

Basic Navigation Bar Navigation bars are essentially a list of links, so the ul and li elements are used to encase navigation links. HTML5 Navigation Bar To make a navigation…

July 12, 2021 Read More
CSS

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…

July 10, 2021 Read More
CSS

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…

July 10, 2021 Read More
CSS

Chapter 18: Forms

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…

July 9, 2021 Read More
CSS

Chapter 17: Input Control Elements

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,…

July 9, 2021 Read More
CSS

Chapter 16: Image Maps

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.…

July 8, 2021 Read More
CSS

Chapter 15: Images

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…

July 6, 2021 Read More
CSS

Chapter 14: Using HTML with CSS

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…

July 2, 2021 Read More