Html
- Understanding HTML elements and composing
1. Understanding HTML elements and composing
HTML is a markup language that consists of a single tag that tells the browser how to build the Web page. Like DNA inside the body, it controls the composition of the body. At the same time, just as people think they are born with fat and thin genes, tags in HTML are also characteristic. They include block elements, inline elements, and empty elements.
- Block element like a fat man, one has to do two stools. A block element is typically a different row, and the next element begins with another line. It is often used to display structured content, such as paragraphs, lists, and so on.
- Inline element is a thin, can be two to do a stool. They are usually lined up, knowing that one line will not stop to change.
- An empty element is one that occupies a seat. is used to insert something in your location. Common with IMG Tags
Each element can have its own attributes, contain additional information about the element, and will not appear on the page. That is, each person has its own characteristics. These traits are innate, and have acquired themselves, but are not overt.
Analyze documents
- <! DOCTYPE html> Document Declaration, tell the browser to this is an HTML file
- Included content is no longer displayed on the page
- Set the encoding format
- Sets the page title, which appears in the tab.
- The elements displayed on the page
2018-4-25 HTML Basics