What is HTML?
HTML stands for Hyper Text Markup Language
HTML describes the structure of a Web page
HTML consists of a series of elements
HTML elements tell the browser how to display the content
HTML elements are represented by tags
HTML tags label pieces of content such as "heading", "paragraph", "table", and so on
Browsers do not display the HTML tags, but use them to render the content of the page
HTML comments are not displayed in the browser, but they can help document your HTML source code. 0202854769
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:
List groups are a flexible and powerful component for displaying a series of content. Modify and extend them to support just about any content within.
Quickly and easily clear floated content within a container by adding a clearfix utility.
Responsive Images Responsive images are images that scale nicely to fit any browser size.
Using the width Property
If the CSS width property is set to 100%, the image will be responsive and scale up and down:
Notice that in the example above, the image can be scaled up to be larger than its original size. A better solution, in many cases, will be to use the max-width property instead.
Using the max-width Property If the max-width property is set to 100%, the image will scale down if it has to, but never scale up to be larger than its original size
Handling Events Handling events with React elements is very similar to handling events on DOM elements. There are some syntax differences:
React events are named using camelCase, rather than lowercase.
With JSX you pass a function as the event handler, rather than a string.
Approach Learn about the guiding principles, strategies, and techniques used to build and maintain Bootstrap so you can more easily customize and extend it yourself.
Grid Container To make an HTML element behave as a grid container, you have to set the display property to grid or inline-grid.
Grid containers consist of grid items, placed inside columns and rows.
Alerts Provide contextual feedback messages for typical user actions with the handful of available and flexible alert messages.
It lets you compose complex UIs from small and isolated pieces of code called “components”. React has a few different kinds of components, but we’ll start with React.Component subclasses: