Day 4
HTML Document Structure
HTML pages consist of elements, which usually consist of a start tag and an end tag, usually with text content between them; we can put some properties in the start tag that change the behavior of the element or set it. Note that some elements can branch inside each other. The basic divisions of elements are:
Start tag: This contains the name of the element, enclosed in angle brackets, and the name may be followed by the properties that affect it. For example <p>, .
End tag: This also contains the element name preceded by a slash before it to indicate the end of the element; note that forgetting the end tag can sometimes cause errors, so be careful and remember it. For example: <p/>.
Content: This is located between the start and end tags, and most of the time represents the content of the element.
Element: The start tag, the end tag, and the content
تعليقات
إرسال تعليق