Learn to use HTML and CSS and try to write PHP

Source: Internet
Author: User
Tags php define

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.