These two days to see a little PHP, the thought of practice, found that their server is not ready, PHP code only write two or three lines embedded in the HTML, but also can not run, but also found that they have learned the HTML and CSS is not enough, always appear problems, learning style and layout are too single, Some knowledge is not mastered well, so write out of the page can only ah hehe, however, but still in the effort!
The following code is two HTML and a CSS, the use of today's newly learned window to embed another HTML in the window, and try to use CSS for a simple style design, but there are still problems, the processing of pictures always make me headache. Do not look down also do not spit groove Oh, I will refuel!
<!DOCTYPE HTML><HTML> <Head> <Linkrel= "stylesheet"type= "Text/css"href= "Style.css" /> <MetaCharSet= "Utf-8" /> <title>Learning PHP</title> </Head> <!--<body> <div id= "BD1" > - <DivID= "Boeder"> <Framesetrows= "40%,60%"> <Framesrc= "img/figure 2.jpg"marginheight= "100%"marginwidth= "100%"> <Framesrc= "1.1.html"> <Frame> <!--<frameset cols= "30%,40%,30%" framespacing= "bordercolor=" "Black" > <frame> <frame> <frame> </frameset> - </Frameset> </Div></HTML>
<HTML> <Head> <MetaCharSet= "Utf-8" /> <Linkrel= "stylesheet"type= "Text/css"href= "Style.css"/> <title>Php</title> </Head> <DivID= "BD1"> <Body> <h>Learn a simple PHP</h> </Div> <DivID= "Bd2">PHP refers to super text preprocessing language, is an HTML embedded language</BR> </Div> <!--<?php define ("out", where the define is used to define a constant); Echoout?> -<DivID= "PH"> <imgsrc= "img/figure 1.jpg"width= "$", Height= "$"Align= "Center"/> </Div> <DivID= "End">because of the time problem, my study today is here to end, next time I will continue to work! The code is still very rough, I hope you do not spit groove, learn ing</Div> </Body> </Div></HTML>
*{Background-color:Gainsboro;}#bd1{font-family:"Microsoft Jas Black";font-size:Large;Color:Black;text-align:Center;text-decoration:overline;}#bd2{font-family:"Arial Narrow";font-size:Medium;Color:Gray;text-align:Center;text-decoration:Underline;}#ph{text-align:Center;}#end{margin:Auto;text-align:Center;font-size:Small;Color:Brown;}#boeder{Border-color:palevioletred;}
Learn to use HTML and CSS and try to write PHP