Day4:模写してみよう!

今日は実戦形式!
完成見本を自分で「そっくり再現」してみよう!

模写ってなに?

今回の模写演習

👉 s4.htmlを開く

👉 完成見本を開く

演習ヒント

構造用のタグ

よく使うタグ(復習)

タグ用途
<h1><h6>見出し
<p>文章(段落)
<img>画像
<a>リンク
<ul> / <ol> / <li>リスト
<div>ブロック要素
<span>インライン要素
<br>改行

よく使うCSSプロパティ(復習)

プロパティ用途
colorcolor: red;文字の色
font-sizefont-size: 20px;文字の大きさ
text-aligntext-align: center;文字の並び
background-colorbackground-color: #eeeeee;背景色
paddingpadding: 20px 10px;内側の余白
marginmargin: 0 auto 20px;外側の余白
borderborder: 1px solid #cccccc;枠線
border-radiusborder-radius: 4px;角の丸み
displaydisplay: flex;要素の並び

発展タスク

ふりかえり

👉 次回は自己紹介ページを仕上げよう!