Inline_vs_Block_Formatting

Another division between types of tags describes whether this tag is intrusive to the layout of the text.

An Inline tag is one that affects the appearance of the letters of the bunch of text without causing a line break - a paragraph with an inline element in it will still be a paragraph. (And as such, it is a tag that you could nest inside a ... tag without any concern.) One example of an inline tag is the italics tag: code format="html4strict" This is a consistent paragraph of text, even though there is a tag in it. code This is a consistent //paragraph// of text, even though there is a tag in it. Other examples of inline tags include (edit this page to add to the list)...
 * 

A Block tag is one that causes a carriage return with it. Once you open one of these tags, the browser must start a new line on the page. It might not make much sense to include this in the middle of a ... tag. One example of a block layout tag is the tag: code format="html4strict" You can't really call this a single paragraph. There is a break in the middle. So even though the tags appear to be nested properly, this isn't really allowed - it isn't really a single paragraph. code You can't really call this a single paragraph =There is a break in the middle.= So even though the tags appear to be nested properly, this isn't really allowed - it isn't really a single paragraph.

If you were to do this section of code correctly, you would have had to end the tag before you started the tag and opened a second tag after you closed the tag.

Other examples of block tags include (edit this page to add to the list)...