Element classif...LOGIN

Element classification

Element Classification

Before explaining CSS layout, we need to know some knowledge in advance. In CSS, label elements in html are generally divided into three different types: block Shape elements, inline elements (also called inline elements) and inline block elements.

Commonly used block elements are:

<div>, <p>, <h1>...<h6>, <ol>, <ul> , <dl>, <table>, <address>, <blockquote>, <form>

Commonly used inline elements are:

<a>,< ;span>, <br>, <i>, <em>, <strong>, <label>, <q>, <var>, <cite>, <code>

Commonly used inline block elements are:

<img>, <input>


Next Section
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Title</title> </head> <body> PHP中文网 </body> </html>
submitReset Code
ChapterCourseware