website development providence ri


website development providence ri

(website development providence ri)How do we develop it every day??In this chapter,Let's learn together to develop a website.。

Static website and dynamic website

We open the webpage,It can be divided into two categories。One type is similar to corporate information display、Personal blog and other information,This type of website is only information display,Not too much interaction function。This type of website is a static website。

website development providence ri

There is also a kind of Taobao、Microblogging、QQSpace This information changes daily,Website with more features,This type of website is a dynamic website。Dynamic website,Generally there will be a server to receive requests、Data processing、Return the result。

(website development providence ri)

website development providence ri

(website development providence ri)Today, let's first focus on studying the construction of static websites.。A beautiful web creation is like covering the house.,Have a complete process。Before learning the specific web development,Let's take a look at how to cover the house.。

(website development providence ri)

website development providence ri

  1. Design drawings:We will first draw the look of the house we want to cover on the drawings.,Several highlights、How to open the window、How to design the door, etc.。

  2. House skeleton:After the design manuscript is completed,We can set up a house skeleton.。Foundation、Load-bearing wall、Ceiling, etc.。

  3. Pink brush decoration:After the house skeleton is built,We need a unified brush decoration to the house。Let the house becomes a beautiful architecture from the naked skeleton。

  4. Hydropower:finally,We also need to give the house to hydropower,Let the house really live。

under,Let's learn how to make a web page according to this process.。

design draft

Before developing a web page,We need to plan the layout of this page。title、picture、What is the design, etc.。This work,We can do your own drawings or professional software。The web design software of the current comparative process has:photoshop、sketchWait,Interested, you can learn in detail.。

(website development providence ri)website development providence ri


After the design manuscript is completed,We can enter the web skeleton.,This is usedHTML。htmlHypertext markup language(Hypertext Markup Language)abbreviation of,Hypertext is the meaning of more things that can express more than ordinary words.。Think about our usual writing composition,In addition to the title,Below is a color、size、Font the same text content。HTMLThat is to mark these text into a different look.,for example:Headline、subtitle、picture、Link、List、Form, etc.。Is it to use us usuallyWordVery similar。existWordWe can also complete this work.,but,wordThe generated file can only be usedofficeOpen。we useHTMLThe design of the webpage is very convenient to identify and read。

website development providence ri

HTMLUnlike us to learnpython,It is not a programming language,HTMLAn expression、Organize information。

htmlA marker language is called a separate tag because its core is a separate mark.。The following figure is a typicalHTMLLabel。

website development providence ri

Core label has4Partly:

  1. Start tag: The part of the beginning with a sharp bracket is starting tag,Every tag has its own name,for example:<p> <a> <strong> <span> <table> <li>etc。

  2. End tag: Ending the label is also packet with a spare bracket,Especially important,The left side angle will follow one/Indicates label closed。for example:</p> </a> </span> </table> </li>

  3. Tag content: The content that is started and ending the label in the middle is the label content.。This part of the information will be displayed directly in the browser.。

  4. element: Depend on1、2、3The overall combination is a label element.。

(website development providence ri)under,Let's take a look at which tags will have a typical web page.:

website development providence ri

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>My test page</title> </head> <body> <img src="images/firefox-icon.png" alt="My test image"> </body> </html>

  1. <!DOCTYPE html> Name this is onehtmlDocumentation

  2. (website development providence ri)html Logged the start and end of the page

  3. head Head of the page,This part mainly declares some source information from this page

  4. title Web title

  5. body Web content

Let's learn some commonly usedHTMLLabel。

  1. img Picture label,Used to display a picture。

  2. (website development providence ri)h1~h6 Title level1To the title level6,Size decrease

  3. p paragraph,A whole

  4. (website development providence ri)ul li List,List information display

  5. a Link,Hyperlink

Other commonly used but not very obvious

  1. div A separate information block

  2. span A small piece of information,Often writepLabel

  3. form A form,Submit information

  4. input Input box

  5. button Button

  6. checkbox Check box


Learn so many labels,Let's write an example.。

<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">

<h1>about me</h1>


<p>I'm<span>Ada teacher</span>,Focus on children's programming。Committed to cultivating the little pole。Not lack of genius,It is lacking to cultivate genius environment。</p>

<a href="">my Weibo</a>
<a href="">My forum</a>

How to become beautiful

not bad,We can useHTMLWrite a self-introduction。But,怎么看这个页面都觉得丑丑的。How to see this page is ugly,我们来一起学习一下怎么把这个页面变漂亮。

Next class-孩子身边的编程专家

(website development providence ri)Let's learn together how to make this page beautiful,主页里有完整的课程目录和观看地址