Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- meta charset
- java
- 리베이스
- BR태그
- blank
- 미디어쿼리
- github desktop
- 부모자식태그
- vscode
- 깃허브데스크탑
- 자료형
- 머지
- 브랜치
- !DOCTYPE HTML
- HTML
- Github Pages
- 깃허브
- 커밋
- 풀리퀘스트
- 코딩
- web
- 프로그래밍
- github
- 파이썬
- 소스트리
- P태그
- 숫자형
- 문자열
- 리스트자료형
- CSS
Archives
- Today
- Total
홍강zone
[HTML]<!doctype html><html><head><body><title><meta charset> 본문
제목을 지정하는 태그는 <title></title>태그이다.
또 영어가 아닌 문자로 웹페이지를 만들면 문자가 깨지는 경우가 있다.
Visual Studio Code 에디터의 하단을 보면 UTF-8이라고 적혀있는데,
이는 이 웹페이지가 UTF-8방식으로 저장되었다는 뜻이다.
이를 해결하기 위해서는 아래와 같이 코드를 추가해야한다.
<title>WEB1 - html</title>
<meta charset="utf-8">
위의 코드는 본문이 아닌 본문을 설명한다.
HTML은 본문과 본문을 설명하는 정보를 각기 다른 태그로 분리해서 정리정돈하기로 했다.
본문은 <body></body>
본문을 설명하는 <head></head>
또 body태그와 head태그를 감싸는 <html></html>태그
이 웹페이지가 HTML로 만들어졌다는 것을 표현하기 위해서 문서의 시작에 <!doctype html>코드를 추가하기로 약속했다.
<!doctype html>
<html>
<head>
<title>WEB1 - html</title>
<meta charset="utf-8">
</head>
<body>
<ol>
<li>HTML</li>
<li>CSS</li>
<li>JavaScript</li>
</ol>
<h1>HTML이란 무엇인가?</h1>
<h1>HTML</h1>
<p>Hypertext Markup Language (HTML) is the standard markup language for <strong>creating <u>web</u> pages</strong> and web applications<br><br>
Web browsers receive HTML documents from a web server or from local storage and render them into multimedia web pages. HTML describes the structure of a web page semantically and originally included cues for the appearance of the document.
<img src="coding.jpg" width="100%">
</p><p style="margin-top:45px">HTML elements are the building blocks of HTML pages. With HTML constructs, images and other objects, such as interactive forms, may be embedded into the rendered page. It provides a means to create structured documents
by denoting structural semantics for text such as headings, paragraphs, lists, links, quotes and other items. HTML elements are delineated by tags, written using angle brackets.</p>
</body>
</html>
'HTML' 카테고리의 다른 글
[HTML]웹페이지를 웹사이트로 만들기 (0) | 2023.03.23 |
---|---|
[HTML] 링크 거는 방법 <a href="" target="_blank" title=""></a> (1) | 2023.03.23 |
[HTML] <ul><ol><li>태그와 부모자식태그 (0) | 2023.03.22 |
[HTML] <img src=""> & 속성(attribute) (0) | 2023.03.22 |
[HTML] <p></p>태그와 <br>태그 (CSS) (0) | 2023.03.22 |