[w3schools] HTML Exercises - Headings

Ditto·2021년 5월 5일
0

HTML Headings

1. Use the correct HTML tag to add a heading with the text "London".

<h1>London</h1>

London

h1 태그는 HTML 구획 제목 요소 중 가장 높은 단계를 나타낸다. 단순히 글자의 크기가 크게 보일뿐만 아니라 검색엔진이 문서를 파악하기 위해 쓰이므로 상황에 맞게 단계를 구분해주어야 한다.


2. Add six headings to the document with the text "Hello".

Start with the most important heading (the largest) and end with the least important heading (the smallest).

<h1>Hello</h1>
<h2>Hello</h2>
<h3>Hello</h3>
<h4>Hello</h4>
<h5>Hello</h5>
<h6>Hello</h6>

Hello

Hello

Hello

Hello

Hello
Hello

h# 태그는 총 6단계로 나눌 수 있으며 상황에 맞게 넘버를 지정해 주어야 한다.


3. Mark up the text with appropriate tags:

"Universal Studios Presents" is the most important heading.

"Jurassic Park" is the next most important heading.

"About" is the third most important heading.

The last sentence is just a paragraph.

Start with the most important heading (the largest) and end with the least important heading (the smallest).

<h1>Universal Studios Presents</h1>
<h2>Jurassic Park</h2>
<h3>About</h3>
<p>On the Island of Isla Nublar, a new park has been built: Jurassic Park is a theme park of cloned dinosaurs!!</p>

Universal Studios Presents

Jurassic Park

About

On the Island of Isla Nublar, a new park has been built: Jurassic Park is a theme park of cloned dinosaurs!!

profile
늘 성장하는 개발자이고 싶습니다

0개의 댓글