.


:




:

































 

 

 

 


3. , mysite.css main.css




Mysite.css ̳ Times New Roman 10, .

Main.css ̳ Times New Roman 12, , .

h1 {

color: red;

text-align: center;

font-weight: normal;

}

p {

color: black;

font-size: 10pt;

}

 

<html>

<head>

<meta charset="utf-8" >

<link rel="stylesheet" href="main.css">

<link rel="stylesheet" href="mysite.css">

</head>

<body>

<h1><b>XML</b> (Extensible Markup Language)</h1>

<p> , SGML - - .</p>

<h1><b>XML</b></h1>

<p> HTML, . HTML, XML, SGML, . XML .</p>

<p> , XML-, , XSLT. XML + , HTML - . XML , , .</p>

</body>

</html>

4. , 3.

<style type="text/css">

h1 {

color: red;

text-align: center;

font-weight: normal;

}

p {

color: black;

font-size: 10pt;

}

</style>

5. , 3.

<html>

<head>

<meta charset="utf-8" >

</head>

<body>

<h1 style="color: red;text-align: center;font-weight: normal;"><b>XML</b> (Extensible Markup Language)</h1>

<p style="color: black;font-size: 10pt"> , SGML - - .</p>

<h1 style="color: red;text-align: center;font-weight: normal;"><b>XML</b></h1>

<p style="color: black;font-size: 10pt"> HTML, . HTML, XML, SGML, . XML .</p>

<p style="color: black;font-size: 10pt"> , XML-, , XSLT. XML + , HTML - . XML , , .</p>

</body>

</html>

' XML- PHP XML SAX DOM XML DOM XML PHP XML DOM XML

6. , . 1,3,5 24 , (2,4,6) 36 .

h1 {

color: green;

text-align: left;

font-size: 24px;

}

h2 {

color: blue;

text-align: right;

font-size: 36px;

}

<html>

<head>

<meta charset="utf-8">

<link rel="stylesheet" href="style6.css">

</head>

<body>

<h1> </h1>

<h2>' XML-</h2>

<h1> PHP XML</h1>

<h2> SAX DOM XML</h2>

<h1> DOM XML</h1>

<h2> PHP XML DOM XML</h2>

 

</body>

</html>

7. , ( 6) main.css Times New Roman 14 smart.css Courier New 10 .

<style type="text/css"> @import url("main.css");

@import url("smart.css");

</style>

8. , . 6.

<style type="text/css"> @import url("style8.css");

</style>

9. , :

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title> XML </title> <link media="print, handheld" rel="stylesheet" href="print.css" type="text/css"> <link media="screen" rel="stylesheet" href="main.css" type="text/css"> </head> <body>

<p> HTML, . HTML, XML, SGML, . XML .</p>

</body></html> : , , .
  .
white   #ffffff #fff
silver   #c0c0c0
gray   #808080 -
black   #000000 #000
maroon   #800000 -
red   #ff0000 #f00
orange   #ffa500
yellow   #ffff00 #ff0
olive   #808000
lime   #00ff00 #0f0 -
green   #008000
aqua   #00ffff #0ff
blue   #0000ff #00f
navy   #000080 -
teal   #008080 -
fuchsia   #ff00ff #f0f
purple   #800080




:


: 2016-07-29; !; : 344 |


:

:

, .
==> ...

1381 - | 1227 -


© 2015-2024 lektsii.org - -

: 0.014 .