HTML - PowerPoint PPT Presentation

About This Presentation
Title:

HTML

Description:

7 HTML FrontPage Dreamweaver – PowerPoint PPT presentation

Number of Views:98
Avg rating:3.0/5.0
Slides: 30
Provided by: jia1150
Category:

less

Transcript and Presenter's Notes

Title: HTML


1
?7? ????????
  • HTML
  • ?????
  • FrontPage???
  • Dreamweaver???
  • ?????????????
  • ?????????

2
7.1.1 HTML ??
7.1 HTML????
  • HTML(HyperText Markup Language,?????????),?????
    ????
  • HTML????????????????????,????????????,????????H
    TML?????,???????????,HTML?????????
  • ?HTML?,??????????????,??HTML??????????????,?????
    ????????????,???????????

3
7.1.2 HTML??
  • ????????
  • ltELEMENTgt??lt/ELEMENTgt ltELEMENT
    ????gt??lt/ELEMENTgt, ltELEMENTgt

4
1.HTML????
  • HTML?????????,???????????????????????????,????
    ????????

5
  • lthtmlgt ltheadgt lttitlegt
    HTML ??lt/titlegt lt/headgt ltbodygt
    lth1gtHTML ?? lt/h1gt lth2gt???
    HTML??lt/h2gt lth3gt1.1 HTML??lt/h3gt
    ltpregt HTML???HyperText Markup
    Language???,?????????????,???????????,????Web???
    lt/pregt ltpgt?HTML?,??????????????,lt
    pgt ??HTML??????????????,???????????ltbrgt??
    ????,???????????ltbrgt lt/bodygt
    lt/htmlgt

6
(No Transcript)
7
2.????
  • ??HTML???ltHTMLgt????,?lt/HTMLgt???????????HTML???
    ???HTML?????????? ? ????
    ?ltHEADgt?lt/HEADgt?????,????????? ?
    ???? ltTITLEgt?lt/TITLEgt

8
  • ? ???? ltBODYgt?lt/BODYgt???????????????,????????
    ltBODYgt???????????????????????? ?
    ?? HTML???ltHngtlt/Hngt??????????????????ltH1gt?ltH2gt?
    ? ? ?? ltPgt?HTML??????????
  • ? ????????
    ltPREgtlt/PREgt??????????????,????? ? ?????
    ???????????,?????ltBrgt???

9
3.?????
  • ??????????ltAgt?lt/Agt,??HREF????,HREF????????URL?
    ? ? ??????? ltA HREFfirst.html
    gt?????lt/Agt? ? ??????? ltA
    HREFhttp//www.edu.cngtCERNET??lt/Agt ?
    ???????(??????????????
  • ?ltA NAME "clients"gt Clinets lt/Agt) ltA
    HREF"clients"gt????lt/Agt

10
4.???????
  • ? ???? ?????????????GIF?TIEF?JPG?RGB
    ?HDF?????????? ltIMG SRC"filename"gt
  • ? ????? ????????????, ???????????AU?WAV?AIFF?SND?
    ? ltA HREFolivier_h.augt??lt/Agt ltA
    HREFtest.mpeggt??lt/Agt

11
5.????
  • ???ltTABLEgt????,??????????????(?CAPTION????)??
    ?????ltTRgt... lt/TRgt??,??????ltTHgt...lt/THgt??,???????lt
    TDgt... lt/TD??gt??????????????

12
  • lttable border2gt
    lttrgt ltthgt????lt/thgt lttdgt??lt/tdgt
    lttdgt??lt/tdgt lttdgt??lt/tdgt
    lttdgt??lt/tdgt lt/trgt
    lttrgt ltthgt????lt/thgt lttdgt80lt/tdgt
    lttdgt95lt/tdgt lttdgt90lt/tdgt
    lttdgt85lt/tdgt lt/trgt lt/tablegt

13
7.2.1 ???????
7.2 Web????
  • ? ???????,?????????????? ?
    ???????,?????????????,?????,????? ?
    ???????????????????????? ?
    ???????,????????????????,??????????????????,??????
    ??????,??????????? ? ???????????,??????????
    ? ?????????? ? ????????????????????????,?
    ??????????,?????????

14
7.2.2 ???????
  • ????HTML???????????????????.htm?.html???????????
  • ????????????
  • ??????????,??????????,?DreamWeaver?FrontPage?

15
7.2.3 Microsoft FrontPage???
  • ??FrontPage 98???????,?????Windows
    98??????????FrontPage 98?,????Getting
    Started???,???????????Cancel??,??????????,?Wo
    rd???????
  • ??????????????, Normal??????????? HTML??,??
    ???????HTML??,????HTML??? Preview??????????

16
  • FrontPage 2000??

17
1.????
2.???????
  • ??????????

????? ???
18
3.?????
  • ? ????HTML??
  • ? ??URL
  • ? ????

19
7.2.4 Dreamweaver???
  • ?????????????????,
  • ???(http//www.netchina.com.cn/)?????(http//ww
    w3.east.cn.net)???(http//www.nease.net)

20
7.2.5 ?????
  • ?????????????????,
  • ???(http//www.netchina.com.cn/)?????(http//ww
    w3.east.cn.net)???(http//www.nease.net)

21
7.3 Java????
  • Java??SUN????????????,???????????????????????
    ??,???????Internet??????Java??????????????????????
    ??

22
7.3.1 Java?????
  • 1. Java????? 2. Java????? 3.
    Java????? ? ????????? ? ???????
    ? ??? ? ???

23
7.3.2 Java?????
  • Java????Applet?Application??

24
7.3.3 Java???????
  • 1.??? ???????_,??,????????,???????????,?
    ??????
  • 2.??? abstract continue for new switch
    boolean default goto null synchronized break do
    if package this byte double implements private
    thread safe byvalue else import protected throw
    case extends instanceof public transient catch
    false int return true char final interface short
    try class finally long static void const float
    native super while cast future generic inner
    operator outer rest var

25
3.????
  • Java ???????? integer(??),
    floating(???), Boolean(????), Character or
    String(??????)?
  • 4.??? Java ???????C????

26
7.3.4 Java ???????
  • 1. Java ???? JDK ?? JDK ????,????????????
    JavacJava ???,? Java ?????????? JavaJava
    ???,???????? Java ?????????
    appletviewer????????, Javadoc?? Java
    ????????? HTML ??? JdbJava
    ???,????????,?????????? Javah?????? Java
    ??? C ??????? Java ????? C ???????
    JavapJava ????,?????????????????,??????????

27
  • ?7-7 ????????????????????

28
2.? JDK ???????
  • import java.awt. import
    java.applet.Applet public class
    OutputHello extends Applet String s
    public void init() String temps
    temps getParameter("name")
    s"everyone" if (temps ! null)
    stemps
    public void
    paint (Graphics g) g.drawString("Hello
    "s,size().width/2,size().height/2)

29
  • Javac OutputHello.java
  • ---------------? OutputHello.class??-------------
    --?OutputHello.html??
  • JavaApplet ?????? APPLET CODE applet
    ???.class WIDTH ?? HEIGHT ?? PARAM NAME
    ??? VALUE ?

30
  • ????? HTML ???? lt html gt lt head
    gt lt /head gt lt body gt lt
    applet code "outputhello.class" WIDTH 200
    HEIGHT 60 gt lt param name name value
    world gt lt /applet gt lt /body gt
    lt /html gt ????? OutputHello.html?
    ???????appletviewer ???????
    appletviewer OutputHello.html

31
????????7-7???
  • ?7-7 ?APPLET ????

?7-7 ?APPLET ????
32
7.4 VRML??
  • VRML(Virtual Reality Modeling
    Language)???????,???????????????? Web
    ???VRML??????????????????(??????????????????)?????
    ???????

33
7.4.1 VRML??????
  • VRML??????????????????????????????????,???????
    ???????????????????????,???????????????

34
7.4.2 VRML ???
  • ? ???? ? ???? ? ???? ? ?????
    ? ?? ? ????

35
  • ?7-8 VRML?????

36
7.4.3 VRML??????????
  • 1. VRML 2.0 ????
  • ? ????(Coordinate System)
  • ? ????(Scene Graph)
  • ? ??(node)
  • ? ??(Fields)
  • ? ????(Node type)
  • ? ???????????
  • ? ??????
  • ? ????(Scene effect)
  • ? ????(3D sound)
  • ? ??(Animation)
  • ? ?????????(??????????????)
  • ? ??(Prototype)
  • ? ????????(HyperLink)

37
2.VRML?????
  • ????7-9?????,????????7-9 VRML?????

38
  • VRML V1.0 ascii //???VRML 1.0???
    Separator PerspectiveCamera
    position 0 40 300 orientation 0 0 -1
    0 focalDistance 5 heightAngle .785
    PerspectiveCamera DEF Cone1
    Separator Translation
    translation -30 40 0
    Translation
    Cone parts ALL
    bottomRadius 15
    height 30
    Cone Cone1
    Separator Separator

39
7.5 ???????????????
  • 7.5.1 ?????????7.5.2 ??????7.5.3
    WEB?????????7.5.4 ??ODBC?????
  • ODBC(Open Database Connectivity)??????????????????
    ???????,
  • ???ODBC???????,????ODBC???????ODBC???????????,???
    ????ODBC????ODBC??????.

40
(No Transcript)
41
1.???ODBC
  • Dim rc As Integer ODBC?????? Dim henv As
    Long ODBC???? rc SQLAllocEnv(henv)
    ??ODBC????
  • 2.?ODBC??????? Dim hdbc As Long ???? rc
    SQLAllocConnect(henv, hdbc) ?????? Dim
    DSN As String, UID As String, PWD As String
    DSN DataSourceName ODBC????? UID
    UserID ???? PWD Password ???? rc
    SQLConnect(hdbc, DSN, Len(DSN), UID, Len(UID),
    PWD, Len(PWD)) ????

42
3.????
  • ? ??SQLAllocStmt??????????? Dim hstmt As
    Long rc SQLAllocStmt(hdbc, hstmt)
  • ? ??SQL?????SQL????????,???????????SQLAllocStmt
    ??,?? Dim SQLstmt As String SQLstmt
    "SELECT FROM authors" rc
    SQLExecDirect(hstmt, SQLstmt, Len(SQLstmt))

43
4.?????
  • Dim ColVal As String 225 ColVal
    String(255, 0) Do Until SQLFetch(hstmt)
    SQL_NO_DATA_FOUND rc SQLGetData(hstmt, i,
    SQL_C_CHAR, ColVal, Len(ColVal), SQL_NULL_DATA)
    Loop

44
5.??????
  • ? ??SQLFreeStmt ?????????????????? rc
    SQLFreeStmt(hstmt, SQL_DROP)
  • ? ??SQLDisconnect ??????? rc
    SQLDisconnect(hdbc)
  • ? ??SQLFreeConnect ?????????????????? rc
    SQLFreeConnect(hdbc)
  • ? ??SQLFreeEnv ?????????????????,??ODBC???
    rc SQLFreeEnv(henv)

45
???
  • ??????
  • 1. HTML? 2. VRML? 3. ???????

46
  • ?????
  • 1. HTML????_____?___________________?
    2. ???????__?__?__?__??? 3.
    ??????____________?______________? 4.
    JAVA??????_______?______?______?_______?
  • 5. JAVA ???????????_______?______?______?_______
    ? 6. Web???????????Web?????????????????______?___
    ____?

47
  • ?????
  • 1. HTML?DHTML?????? 2.
    ??VRML????????? 3. ????????? 4.
    HTML???????????? 5. ?????????????? 6.
    ?HTML?,ltMETAgt???????? 7. ????????????? 8.
    HTML?????????????? 9. ??????????? 10.
    ????ODBC?????
Write a Comment
User Comments (0)
About PowerShow.com