ファイルの拡張子の表示

  • コンピュータ→ツール→フォルダオプション→表示→詳細設定→(□拡張子は表示しない、のチェックを外す)

アドレス

  • 絶対アドレス=http://homepage.com/index.html
  • 相対アドレス=index.html

 

  • 用語
    • 開始タグ、終了タグ
    • (タグの)属性、属性値
    • コンテンツ=要素の内容
    • HTMLで書かれた文=要素
    • <HEAD> ヘッダー
  • 改行 <br>     <br />
  • コメントアウト
    •  <!--  ~ -->
    • JSの「//」「/*」「*/」とは異なることに注意
  • <img>タグ
    • <img src="XXX.jpg" width= "640" height="480" alt="not found">
    • ポイント ①指定内容=" "  ②スペース区切り
    • 「画像の大きさの比を変えると歪んでしまう」ので注意
    • 代表的な画像サイズ=幅640px, 高さ480px

 

  • <span>タグ
    • それ自身は特に意味を持っていない。スタイルシートを適用するのに用いる。
    •  <div>はブロック要素で、<span>はインライン要素。

y1 ="<span style='font-size: 48pt;'>";

y2 = " </span>"

document.write(y1+x+y2)

  • <table>タグ
    • ポイント
      • <tr>で表の行を定義 (table row=行)
      • <th>ヘッダセル  (table header)
      • <td>データセル       (table data)
      • レイアウト目的にはスタイルシートを用いる
    • <table border="2">
    •   <caption>表のタイトル</caption>
    •   <tr> <th>A1</th>  <th>B1</th>   <th>C1</th> </tr>
    •   <tr> <td>A2</td>  <td>B2</td>   <td>C2</td> </tr>
    •  <tr> <td>A3</td>  <td>B3</td>  <td>C3</td> </tr>
    • </table>