March 03, 2017
Abstract: php basics 1
Content: although I have been in contact with the University, I have taken the exam with the students' mentality. All I have learned is theoretical knowledge. From today on, I also want to learn with the students' mentality, however, you need to practice with a working attitude.
Thanks for teacher was written on February 1, March 8.
1And the required software:
DW, Xmind, Hbuilder
1, HTML (hyper text markup language)Is a hypertext markup language, which is a static webpage.
Note: Differences between static and dynamic web pages:
(1) code must be modified to modify static pages (static pages do not necessarily have no dynamic effect). Common formats include html and htm.
(2) the dynamic web page needs to read the database; Common Format:. php;. aspx (. net);. jsp (java)
2, HTMLIt is a tag language and must have a start tag. For example:
Double tags: <start tag attribute> content <end tag> eg: <a> </a>
Single Tag: <start tag attribute/> eg: <imc src = "123"/>
<Start label attribute> eg: <imc src = "123">
Note:(1) attribute settings must be in the start tag, and some attribute values can be omitted. For example:
<A href = "http://www.baidu.com.cn" hidden = "hidden"> Baidu </a>
<A href = "http://www.baidu.com.cn" hidden> Baidu </a>
The two display effects are the same.
(2) Dual tags are mainly content control tags. A single tag generally plays a controlling role.
3, Annotation syntax
Format: <! -- Content to be commented -->
Note: (1) You can use the shortcut key ctrl +/In Hbuilder/
(2) All characters are English characters, and others are also.
4Basic tags
(1)
(2)
<Title> </title> webpage title
(3) <body> </body> webpage content
Main attributes: bgcolor; background; text (font color); margin
(4) <metal/> encoding format utf8 is universal internationally; GBK is universal in China
5Format control labels
L <font> </font>: main attributes: color (font color), face (font Style), and size
L <strong> </strong>; <B> </B> bold
L <I> </I>; <em> </em> skew
L <u> </u> underline
L <s> </s>; <del> </del> strikethrough
L <sub> </sub> subscript
L <sup> </sup> superscript
L <mark> </mark> text background color
Shortcut Key: <br> shift + enter
Reflections:
1. Pay attention to the layout.
2. Be careful to the writing.
3. Do more excises, or practice more.
4. Thanks for the people I met, thanks for the day is good, thanks for all, and hope everything goes OK.