Computer Science, asked by jgjcj, 1 year ago

what is block level or inline elements of html?​

Answers

Answered by Anonymous
2

Answer:

In HTML, most elements are defined as block level or inline elements.

Block level elements start from a new line.

For example: <h1>, <form>, <li>, <ol>, <ul>, <p>, <pre>, <table>, <div>, etc.

Inline elements are normally displayed without line breaks.

For example: <b>, <a>, <strong>, <img>, <input>, <em>, <span>, etc.

The <div> element is a block-level element that is often used as a container for other HTML elements.

Answered by Sweetheart2003
0

Hey:)

In HTML, most elements are defined as block level or inline elements.

Block level elements start from a new line.

For example: <h1>, <form>, <li>, <ol>, <ul>, <p>, <pre>, <table>, <div>, etc.

Inline elements are normally displayed without line breaks.

For example: <b>, <a>, <strong>, <img>, <input>, <em>, <span>, etc.

The <div> element is a block-level element that is often used as a container for other HTML elements.

Hope it helps!!!

Keep smiling!!!

Similar questions