PDF 다운로드PDF 다운로드
X
컴퓨터에 있는 계산기를 이용해서 계산을 할 수 있는 방법이 많지만, 간단한 HTML 코드를 이용해서 직접 만드는 방법도 있다. HTML로 계산기를 만들기 위해서는 기본적인 HTML을 배운 다음, 필요한 코드를 텍스트 편집기에 복사하고 HTML 확장자로 저장하면 된다. 그리고 원하는 브라우저에서 HTML 문서를 열어 계산기를 사용하면 된다. 그러면 브라우저에서 계산도 할 수 있고, 코딩에 대한 기초 지식도 배울 수 있다 !
단계
- 문서에 HTML 코드를 붙여넣기한다.
- 맥의 경우, 문서 내용 부분을 클릭하고 "Command+V"를 누른다. 코드를 붙여 넣은 후, 화면 상단의 "형식"을 클릭하고 "기본 텍스트로 만들기 " 를 누른다.[11]
- PC의 경우, 문서 내용 부분을 클릭하고 "Ctrl+V"를 누른다.
- 파일을 저장한다. 저장하려면 창 왼쪽 상단에 "파일" 버튼을 누르고 PC에서는 "다음으로 저장..." , 맥에서는 드롭다운 메뉴의 "저장.."을 누르면 된다.
- 파일명에 HTML 확장자를 추가한다. "다음으로 저장..." 메뉴에서 자신의 파일명 다음에 ".html"을 입력하고 "저장"을 클릭한다. 예를 들어 파일 이름을 '첫번째 계산기'로 하고 싶다면, "첫번째 계산기.html"로 저장한다.광고
팁
- 원한다면 웹 페이지에 계산기를 끼워넣을 수도 있다.
- 계산기 모양을 바꾸려면 HTML 스타일링을 사용할 수도 있다.
광고
출처
- ↑ http://www.w3schools.com/html/html_basic.asp
- ↑ http://www.w3schools.com/html/html_head.asp
- ↑ http://www.w3schools.com/html/html_formatting.asp
- ↑ http://www.w3schools.com/tags/att_input_type.asp
- ↑ http://www.w3schools.com/tags/att_input_value.asp
- ↑ http://www.w3schools.com/tags/ref_eventattributes.asp
- ↑ http://www.w3schools.com/tags/tag_br.asp
- ↑ http://www.w3schools.com/html/html_forms.asp
- ↑ http://computers.tutsplus.com/tutorials/quick-tip-configure-textedit-for-coding-html--mac-44786
이 글이 도움이 되었나요?
⚠️ Disclaimer:
Content from Wiki How 한국어 language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.
- - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
- - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
- - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
- - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.
광고