HTML Symbol Entities
HTML entities were described in the previous chapter.
Many mathematical, technical, and currency symbols, are not present on a normal keyboard.
To add such symbols to an HTML page, you can use an HTML entity name.
If no entity name exists, you can use an entity number, a decimal, or hexadecimal reference.
Input form* Attributes
This chapter describes the different form* attributes for the HTML form input element.
The form Attribute
The input form attribute specifies the form the input element belongs to.
The value of this attribute must be equal to the id attribute of the form element it belongs to. 0820616655
Design for Mobile First
Always Design for Mobile First
Mobile First means designing for mobile before designing for desktop or any other device (This will make the page display faster on smaller devices).
This means that we must make some changes in our CSS.
Instead of changing styles when the width gets smaller than 768px, we should change the design when the width gets larger than 768px. This will make our design Mobile First:
What is Bootstrap?
Bootstrap is a free front-end framework for faster and easier web development
Bootstrap also gives you the ability to easily create responsive designs
Examples and usage guidelines for form control styles, layout options, and custom components for creating a wide variety of forms. 0820616655
Documentation and examples for Bootstrap’s powerful, responsive navigation header, the navbar. Includes support for branding, navigation, and more, including support for our collapse plugin.
Text/Typography Bootstrap 4 uses a default font-size of 16px, and its line-height is 1.5.
The default font-family is "Helvetica Neue", Helvetica, Arial, sans-serif.
In addition, all p elements have margin-top: 0 and margin-bottom: 1rem (16px by default).
The id Attribute The HTML id attribute is used to specify a unique id for an HTML element (the value must be unique within the HTML document).
Using The id Attribute
In CSS, to select an element with a specific id, write a hash (#) character, followed by the id of the element:
Lifting State Up Often, several components need to reflect the same changing data. We recommend lifting the shared state up to their closest common ancestor. Let’s see how this works in action.