<p>Hello</p>
여기서 <p>는 시작태그, </p>는 끝태그, Hello는 컨텐츠이다.
* 글씨 크기 순서 : h1>h2>h3
이것은 다 <body>에 속해있음.
<div> 는 페이지의 섹션을 나눔.
One of the most popular elements in HTML is the <div> element. <div> is short for “division” or a container that divides the page into sections.
<div id="introduction">
<div>에 속성을 추가하는 id.
=>콘텐츠 식별 편리함.
One commonly used attribute is the id. We can use the id attribute to specify different content (such as <div>s) and is really helpful when you use an element more than once. ids have several different purposes in HTML, but for now, we’ll focus on how they can help us identify content on our page.
<span>은 동일한 행 분리.
<span> contains short pieces of text or other HTML. They are used to separate small pieces of content that are on the same line as other content.
<p> 단락. (작은글씨)
Paragraphs (<p>) contain a block of plain text.
<em> 기울어진 글씨.
<strong> 굵은 글씨.
codecademy 10/16
'web > HTML·CSS' 카테고리의 다른 글
html 이모지 코드표 (0) | 2020.07.21 |
---|---|
codecademy(코드카데미) HTML정리 4 (0) | 2020.04.25 |
codecademy(코드카데미) HTML정리 3 (0) | 2020.04.23 |
codecademy(코드카데미) HTML정리 2 (0) | 2020.04.23 |
댓글