How To Design A Web Page Using PHP – Info PHP
Related Posts
In this step also, select the location to save the code. In xampp location, show many files. Select htdocs.
Step 8In this step, save the page on the demo file. Type file name index.php and click save. Now, save the coding page.
Step 9In this step, select the title name. Name the untitled document in the code page. Select the name and clear.
Step 10In this step, declare the document title. Type the document title DESIGNING PHP and save or CTRL+S.
Step 11This step is for designing the page. This Web page is divided into header, menu and center. This menu declares three menus, which link to home, login and feedback. Now, we need not to create a home page, login page and feedback page, so declare .
Step 12This step is to view the design page. In this page, click Design. This page shows our page design.
Step 13
This step is to open XAMPP Control Panel Application, which is used for running our web page application. Select XAMPP Control Panel Application.
Step 14This step is to be followed to run the page. In this XAMPP, start Apache. This is a Server to run the page.
Step 15In this step, run the Web page. Select any Web Browser and type the link. This link is localhost/demo and press enter. Now, run the Web page.
Step 16In this step, create stylesheet. In Macromedia Dreamweaver, select CSS. CSS is cascading Stylesheet. This is used to create style for Web page.
Step 17This step is required to open stylesheet coding page. This page is used to develop the style and designing of the Web page.
Step 18This step is required to select the location to save the stylesheet. Go to the file and select save option i.e. open save window. Select file name and open demo file.
Step 19This step is required to save stylesheet. Declare the file name as Style.css. and css is an extension of the stylesheet. Now, save the stylesheet.
Step 20This step is required to develop the stylesheet coding. First create the header page. Declare the #header and create the Background-color, which shows the colors and select any one color.
Step 21In this step, create the stylesheet for the header. Declare the width size and height size, color, border size,margin-left and right size. Subsequently, close the header.
Step 22In this step, connect PHP and stylesheet. Link the stylesheet in PHP coding. In the coding, after , link the stylesheet. Browse the stylesheet.
Step 23In this step, select the stylesheet location. Select the file name and click OK. Now, the link is connected.
Step 24This step is required to link to stylesheet. This declares the type and rel. Type is text/css and rel is Sttylesheet. Now, connect PHP and stylesheet.
Step 25In this step, check the link. Go to the Browser and type localhost/demo. Run DESIGNING PHP. Change the header design.
Step 26In this step, create style for menu. This menu bar has a background color and select any one color, followed by choosing the size of margin, weight and height. Now, save the file.
Step 27In this step, check the menu style. Go to the browser and type the link localhost/demo. Now, run the demo document and menu style changes.
Step 28In this step, change the menu order from horizontal to vertical. Develop unordered list style set to none. List style float is left and declare that padding and margin size. Now, save stylesheet.
Step 29In this step, check the menu order. Go to the browser and type the link localhost/demo. Run the demo document and change the menu order.
Step 30In this step, change the alignment and style of menu link. In stylesheet, create background-color, color, height, width, font-size, font-style and display alignment as table cell. Vertical align is middle. Save the style.
Step 31In this step, check the menu style. Go to the browser and type the link. Now, run the demo document and change the link style on menu bar.
Step 32In this step, create a hover code for the style. In stylesheet, create hover code for the link. Now, create color, font style and transition. Create size of padding, left, top and position. Now, save the stylesheet.
Step 33In this step, check the style. Go to the Browser and type the link. Run the demo page. With the cursor’s click, move to any link that will be changing the link color.
Step 34In this step, change the size of the link. In stylesheet, at a link, change the size of width and height. Now, save the stylesheet.
Step 35In this step, check the size of the link. Go to the browser and type the link. Run the demo page and the link size will be changed on the Web page.
Step 36In this step, create style for center page. This also creates background color; color, width and height is auto, margin size. Save the stylesheet.
Step 37In this step, check center page. Go to the browser and type the link. Run the web page demo. Display the center page, using style.
Step 38In this step, use the image on the header page. In stylesheet, on the header, create an image. Type background image and browse the image.
Step 39In this step, select the header image. Select demo location and select the header image. The image URL is linked with stylesheet. Now, save the stylesheet.
Step 40In this step, check header image. Go to the browser and type the link. Run the demo page and display header image.
Step 41
In stylesheet, on center, create background image and browse the image. Select demo location and open demo. Select center image and save the stylesheet.
Step 42In this step, check the output of DESIGNING PHP. Go to the browser and type the link. Run the demo page.
Article Prepared by Ollala Corp