Html基础
- 2. 1.1 • HTML
1.2 • HTML
1.3 • HTML
1.4 • HTML
1.5 •
- 5. • Web
• IE Internert
Explorer Firefox
TT
• Firefox
•
– IE6~IE9
– Firefox 3.x ~Firefox 4.x
– Chrome
– Safari
- 6. • HTML
Dreamweaver
.htm .html
• Notepad++ VIM
• Firebug IE F12
Chrome
- 7. • HTML
• index.html
Firefox HTML
- 8. • html :index.html
<!DOCTYPE html> ---------------------------------------
<html> ---------------------------------------
<head> --------------------------------------
<title> </title> |
</head> --------------------------------------
<body> ---------------------------------------
<h1> </h1> |
|
|
|
|
</body> ---------------------------------------
</html> --------------------------------------
- 9. • <div
class=“header” id=“header”> </div>
• <”
- 12. • HTML tag
<html> </
html> <head> </head> <body>.
• “<>”
,
•
HTML
- 13. •
• < “ ”
“ ”……> …… < >
• HTML
- 14. • <head> </head>
•
– <meta>
– <title> </title>
– <link> <style>
- 15. • <body> </body>
•
•
background text leftmargin
- 19. •
–
•
– <p> </p>
– <br>
– <pre> </pre>
– <hn> </hn>
– <font> </font>
– ( <b></b>)
- 20. • html
<br>
•
• <body>
<br/>
<br> <br> <br>
</body>
- 21. • <p>
<p> <p>
•
• <p> </p>
- 22. • , <pre> ,
<pre> </pre>.
•
<body>
<pre>
•
•
•
</pre>
</ body >
- 23. • HTML
•
<ul>
<li> </li>
</ul>
•
<ol>
<li> </li>
</ol>
- 24. • HTML <img>
– <img src="flower.jpg" width="270" height="167"
border="1" alt=" " />
• HTML PNG
JPG GIF
- 26. • <table> </table>
– <table> <table> </table>
–
• bgcolor
• background
• width height
• border
• align
- 28. • <tr> </tr>
– <tr>
– <tr> bgcolor background width
height align <table>
– align valign align
valign
- 29. • <td> </td>
– <td>
– bgcolor background width height
align valign <table>
<tr>
– <td> rowspan
colspan rowspan
colspan
- 31. •
–
•
– <a href=“https://www.alipay.com” target=“_blank”
title=“ ”> </a>
– target=“_blank|self|_top|_parent|iframe ”
•
- 34. •
– HTML
• and
(&) (;)
•
–
– "
– <
– >
- 38. • <input> </input>
–
– <input>
• type[text|password|radio|checkbox|submit|image]
• name
• value
- 41. • <script>
– JavaScript JavaScript
–
• src URL;
• charset utf-8;
• type ;
• async(new) ;
- 43. • <link>
–
–
• href URL;
• media ;
• charset
• rel
stylesheet
- 44. • <iframe>
– <iframe>
–
• name
• src
• scrolling
• width height
– <a> <base> target left right
- 45. • DTD/ <!DOCTYPE html>
• xmlns /
• <meta charset="utf-8">
• type
<script>
//
</script>
• <nav><header><footer><section>
• Canvas Video Audio