answersLogoWhite

0

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

11y ago

What else can I help you with?

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.


What is s block element?

A block element is an HTML element that typically starts on a new line and takes up the full width available. These elements can have margins, padding, borders, and can contain other block or inline elements. Examples of block elements include , , -, and .


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.


What is the difference between byte and block?

2352 bytes (the size of a block)


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.


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

67ci


What is the difference between a carton and a block?

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


Difference between block and semi block letter?

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


What is the difference between the tee off marker or the tee block in golf?

There is no difference.


What are different between p block active and p block inactive element?

P-block active elements are highly reactive and tend to readily participate in chemical reactions. In contrast, p-block inactive elements are relatively unreactive and stable, requiring strong conditions for them to react with other substances. The reactivity difference is due to the number of valence electrons and how easily they can be shared or transferred in chemical reactions.