Understanding block-level and inline tags


show more Understanding block-level and inline tags provides you with in-depth training on Developer. Taught by Bill Weinman as part of the XHTML and HTML Essential Training show less
please wait ...

Understanding block-level and inline tags

There are two major types of tags in HTML and XHTML. There are block level tags and inline level tags. Block levels tags are elements that contain other elements. These include paragraphs, headings, tables, etcetera and the special generic block element div. Inline level tags represent objects that typically occur in the line of text including I, B, image, etcetera and the special generic inline elements span. Let's take a look at some block and inline level elements in our editor here at the top of the screen. We see the center tag contains paragraphs and the paragraphs contain in this case an emphasize element and in this case an image element.

Paragraphs are special in this way and that the P tag is the only block level element that cannot contain other block level elements. Paragraphs can only contain text and inline level elements. Other block level elements can contain both block level and inline level elements as in the case of the center tag here. Also, take note that images a...

Understanding block-level and inline tags
Video duration: 1m 24s 4h 44m Beginner

Viewers:

Understanding block-level and inline tags provides you with in-depth training on Developer. Taught by Bill Weinman as part of the XHTML and HTML Essential Training

Subjects:
Developer Web
Software:
HTML XHTML
Author:
please wait ...