Empty tags : There are some tags that do not require an ending tag, they are called empty tags.
Example: <br> : This tag is used to start a new line.
<hr> : This tag draws a horizontal line on the web page.
Container tag : When the tag contains text or any other HTML element, it is called a container tag.
Examples : <HTML>, <TITLE> and so on.
Attribute : An attribute is a keyword (keyword) that is enclosed in Angular brackets '<' & '>' and the keyword is separated from the brackets by spaces. Affects the behavior of the Attribute tag. In the browser, it is not the tags that are seen, but their effect.
For example, if we type the tag < / hr>, then in the browser we will see a straight parallel line, not the < / hr> tag.
Height and Width : Above we read about src, height and width attributes. When you instruct Bryzab about the size of the image, the browser reserves a space for that image accordingly. Without specifying the size of the image, the web page may not display properly, text and other objects will be moved around the web page again and again until the browser determines the actual size of the image and leaves room for it.
HTML music codes
0 Comments