Week 1 - HTML & CSS

grl pwr·2022년 4월 22일
0

HTML이란?

Hypertext Markup Language, a standardized system for tagging text files to achieve font, color, graphic, and hyperlink effects on World Wide Web pages

CSS이란?

Cascading Style Sheets, describes how HTML elements are to be displayed on screen, paper, or in other media

CSS가 필요한 이유

Research has shown that using a signature colour can cause an 80% increase in a consumer's recognition of your brand.

연구에 따르면 소비자들은 '시그니처 색'으로 브랜드를 기억할 때 80%나 더 쉽게 인식한다고 한다. 예를들어 우리가 초록색을 봤을 때, 스타벅스를 연상시키는 것과 같다.

CSS는 하얀 도화지에 글씨만 표현하는 HTML에 '아이덴티디'를 불어 넣는 것과 같기 때문에 웹사이트에서 필요한 프로그래밍 언어이다.

HTML, CSS, JavaScript의 관계

HTML은 기본적인 구조를 만들어주고 CSS와 JavaScript는 그 구조를 업그레이드 만들어준다.

CSS is used to control presentation, formatting, and layout. JavaScript is used to control the behavior of different elements.

.html, .css, .js세 종류의 파일을 연결하는 방법

To import css files on html use tag link

<link rel="stylesheet" href="style.css">

To import js files use tag script

<script src="file.js"></script>

Form: file upload

파일을 업로드 하는 기능을 HTML에 넣을 때

<body>
	<form action="http://localhost/upload.php" method="post" enctype="multipart/form-data">
    <input type="file" name="profile">
    <input type="submit">
    </form>
</body>
profile
4대륙 개발자

0개의 댓글