By default, the format of the HTML document is not related to the format displayed in the browser window. For example, the browser will convert a few blank characters connected together into a space and ignore the exchange symbol. HTML provides the way of organizational content, which segmented the displayed content, and the format of the content in advance.
Establish a paragraphHTML will ignore the car Enter and other additional spaces you enter in the text. The new paragraph in the webpage uses the P element logo. One or more related sentences are contained in one or more. There are some common themes between the discussion points.
<body> <H1> Antoni GAUDí </h1> <p> Many Tourist Are Drawn to Barcelona to See Antoni GAUDí's Incredible Architecture. </P> <p> Barcelona Celebrated the 150th ANNIV Ersary of Gaudí's BIRTH in 2002. </P> </body>
You can add styles to paragraphs, including fonts, font samples, colors, etc.
DIV elementThe DIV element does not have a specific meaning. If there is no appropriate element available, you can use this element to create a structure and give it the meaning. Its meaning is usually specified by the class or ID property.
But be careful not to use DIV elements without having to have, you should give priority to those elements with semantic importance.
Pre -arrange content formatThe browser will compress all additional ends and spaces and automatically change the run according to the size of the window. The PRE element can change the method of browser processing content, prevent merging white characters, and keep the format in the source document. However, note that unless it is necessary to retain the original format of the document, it is best not to use this element, because it weakens the flexibility of the mechanism to present the resulting mechanism by using elements and styles.
The PRE element is usually used with CODE elements to display code examples, because the format in programming language is usually important.
<p> Add this to your style sheet if you want to display a dotted border underneath the <BBR </code> Element where it has a </code> ATTRIB. UTE. </P> <pre> code> abbr [title] {border-bottom: 1px dotted #000;} </code> </pre> Quote the content of himThe Blockquote element represents a piece of content that is attracted from him, similar to the Q element (for short quotes, not across the line), but it is usually used in the scenario with more content to be quoted. The CITE attribute of this element can be used to specify the source of the referenced content.
Copy code