Skip to main content

Second day of Full stack development --> HTML 5

 HTML 5

there are 2 types of elements:

1. Inline:- Inline elements fit in alongside other elements. ( does not take space b/w element)

2. outline:- Block-level elements take up a whole "block" of space. (takes its space as a block b/w element)

both roles are the same to give HTML structure to proficient CSS.

<div> :- content division element, generic element and it is block-level element.

<span>:- also a generic element, and it is an inline element.\

<hr>:-  just give horizontal line.

<br>: break line.

Entity code:- this is pre-define code used to use those characters that is not available in the keyboard or used as HTML syntax.

it starts from &and by ;

ex:- &spades;

Redirect to entity HTML code.

https://www.compart.com/

Comments