In HTML, elements are broadly divided into two categories: block-level and inline. Block elements take up the full width, while inline elements only take as much space as needed.
This is a paragraph
The <p> tag is define a block of text that always starts on a new line
This is Heading 1 used for main heading
Heading are block-level elements that take the full width.
This is a div with container text
here,<div> is used just to group elements for CSS styling
This is a nav which contains a link
this is a container that contains all links in a same nav in that all the links will be in diffrent lines through that is specifies the link
This is a hr tag
This is a hr tag which used when we need a horizontal line on the web page and this also a block elements
This is ul tag used for unodered list
This is ul tag used for unordered list which is used for listing the
Coding is the literacy.
Blockquote is a block container for quotations.
used in listing as ordered or unordered
to write in manner
As table is made for simple and in self explanatary form
hello
This a italic font used to change font inn same paragraph for highlighting a perticular world
Used to change colour in para whether you have to highlight some particular line
This is known as anchor tag used to link website or pages
Hello
Used to underline the world which is important in the refrence of article
bold
The b tag is used to bold a word which is important
42
Used to write aa mathematical operation as square, cube , etc.
SNU
It is used to show a full form or somthing which were shown as the user hower through it
H2O
Used to write a chemical formula for chemistry in HTML
int main(){
printf("HELLO WORLD");
return 0;
}
Used to write a demo code in HTML
| Block Elements | Inline Elements |
|---|---|
| <div> | <span> |
| <p> | <a> |
| <h1> | <b> |
| <ul> | <i> |
| <blockquote> | <abbr> |
| <table> | <code> |
| <hr> | <sup> |
| <section> | <mark> |
| <nav> | <sub> |