Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
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 are inline elements. This can be a point of confusion, so it's good to remember. Images are inline elements; they are not block level elements.
This is just an overview of block and inline level tags. As we go over individual tags in the rest of the course. We'll talk about whether they are block level or inline level, so you can get that straight at the time.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 98508 Viewers
61 Video lessons · 85800 Viewers
71 Video lessons · 69704 Viewers
56 Video lessons · 102010 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.