1. The file name of the Web page, the HTML file can be used in Chinese?
A: There is nothing wrong with the local computer. However, the future Web page files are saved on the server, the recommendations are in English.
2. What is the role of HTML?
A: Control the content of the Web page (let the visitors see the information)
3. When writing code, write "Control content tag", if content is more important , can be semantically weighted :<strong> keyword <strong>
4. Article page theme, recommended use:article title
5. Page paragraph text content:<p> paragraph content </p>
Format: <p align= "Alignment" >...</P>
- Align Left Align
- Center Center
- Right Justify
6. In XHTML, all tags must have attributes, and if not, use the property name.
Example:
<HR noshade>-------HTML
7. Define a block reference : Use text indent format <blockquote>...<blockquote>.
Description cite, URL-referenced address.
Example:<blockquote cite= "http://www.baidu.com" >
Text content
</blockquote>
8. horizontal line
- Size Pixel absolute settings, expressed numerically, the higher the value of the property, the thicker the line; &NB Sp , &NB Sp percentage relative set, in%, the larger the value of the property, the thicker the line; , &NB Sp , &NB Sp , &NB Sp , &NB Sp , &NBSp , &NB Sp
- Width Pixel absolute settings, length will not change due to the change of window; , &NB Sp , &NB Sp % relative settings, length will change with the width of the window; , &NB Sp , &NB Sp , &NB Sp , &NB Sp , &NB SP , &NB Sp
- NoShade When set to true, horizontal lines are rendered as solid colors (2D effect); &NBS P , &NB Sp When set to false, horizontal lines appear as two-color grooves (3D effect); &N Bsp , &NB Sp , &NB Sp , &NB Sp , &NB Sp
9. Pre-formatted <pre></Pre>
Without this tag, the HTML browser ignores all spaces and tabs.
HTML markup Semantics application