answersLogoWhite

0


Best Answer

In HTML, block level elements are elements that creates large blocks of content like paragraphs or page divisions. They typically are formated with a line break before and after the element. They may appear only in element and can contain other blocks as well as inline elements and text or data. Examples are:

,

,

,

,
    etc.

    Inline elements are those elements that defines text or data in the document like makes the enclosed text strongly emphasized and says the enclosed text is a quotation. They don't start new lines when you use them, and they generally only contain other inline tags and text or data. Or they include nothing at all, like the
    tag. Examples are ,

, , , etc.

An important thing to keep in mind while using inline elements is that formating of inline elements is different from block element. You cannot specify the width, height, max-width, max-height, min-width & min-height of an inline element.

It is worth mentioning that you can change the type of inline element or block level element by using any of the following CSS property:

display: block; (To convert an inline element to block element)

display: inline; (To convert block element to an inline element)

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between block level elements and inline elements?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Is a inline object an object that can be positioned at a specific location in a document or in a layer over or behind text in a document?

No. Block level elements can be positioned using CSS. Inline elements fall into the text line. That said, you can use CSS to declare an inline element be displayed as a block level element, or as an inline-block, which more or less splits the difference.


Difference between s-block metals and d-block metals?

the s-block elements are highly reactive elements, on the other hand, d-block elements are less reactive than the alkai metals and the alkai-earth metals. some are so reactive that they do not easily form compounds.


Difference between cross section and block diagram?

difference between cross section and block daigram


What are names of the element that are in block element?

They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.They define sections of a page and normally start on a new line. Examples include paragraphs, tables, forms and divisions. The opposite are inline elements, like bold or span.


Where are the transition elements and the d block located?

Transition elements are the D block on the periodic table. They are between Magnesium and Aluminum and below.


What is the difference between byte and block?

2352 bytes (the size of a block)


What is the difference between fault block mountains and rift valleys?

Fault block mountains are formed when tectonic plates are pulled apart, creating normal faults that result in blocks of land being uplifted. Rift valleys, on the other hand, are formed when tectonic plates are pulled apart, creating a depression between two parallel fault lines. Fault block mountains are characterized by steep slopes and sharp peaks, while rift valleys are characterized by long, narrow depressions.


What is the difference between a carton and a block?

A carton has 24 drinks in it and a block has 30


What is the difference between a 283 small block and a 350 small block?

67ci


What is the difference between block and modified block style?

mrs. okelley is mean


Is there a difference between 454 Chevy block and a corvette 454 block?

yes there is.


Difference between block and semi block letter?

A semi-block letter is less formal than a block letter.