ファイル名:test.html
1 2 3 4 5 6 7 8 9 10 11 12 | <! DOCTYPE html> < html lang = "ja" > < head > < meta charset = "utf-8" > < title >新型コロナ情報</ title > </ head > < body > < h1 >新型コロナ情報</ h1 > < p >茨城県は4月26日より< strong >Stage3</ strong >になりました</ p > < p >日本のワクチン接種率は< strong >1%未満</ strong >です</ p > </ body > </ html > |
表示イメージ

ファイル名:インライン要素とブロックレベル要素.html
注)HTMLで利用している画像ファイルsmall_flower.jpgはこちらからダウンロードしてください
1 2 3 4 5 6 7 8 9 10 11 12 | <! DOCTYPE html> < html lang = "ja" > < head > < meta charset = "utf-8" > < title >インラインとブロックレベル</ title > </ head > < body > < h1 >インラインとブロックレベル</ h1 > < p >文字はインラインです</ p > < p >< img src = "small_flower.jpg" >画像もインラインです</ p > </ body > </ html > |
表示イメージ

コメント