HTML Elements
HTML ELEMENTS -: An HTML file is made of elements. These elements are responsible for creating web pages and define content in that web page. An element in HTML usually consist of a start tag <tag name>, close tag </tag name> and content inserted between them. Technically, an element is a collection of start tag, attributes, end tag, content between them. Such as: < p > Hello world!!! </ p > Void element: All the elements in HTML do not require to have start tag and end tag, some elements does not have content and end tag such elements are known as Void elements or empty elements. These elements are also called as unpaired tag . Some Void elements are <br> (represents a line break) , <hr>(represents a horizontal line), etc. Nested HTML Elements: HTML can be nested, which means an element can contain another element. Block-level and Inline HTML elements For the default display and styli...