1.HTML Initial Knowledge

Source: Internet
Author: User

I. Recognize what a plain text file isTxt

Windows comes with a software, called Notepad, Notepad saved document format is TXT format, is the abbreviation of English text, the term, the name of this file is "Plain text format"

Differences between. doc files and. txt files

. doc file: File can save content and style, the word is red, blue, file edited and shared to other computers, open style on other computers still exist

. txt files: text content can only be saved, text style cannot be recorded

Different points:. doc and. txt files store the same content, Doc is larger than TXT file

Two. HTML is the language responsible for describing document semantics

HTML is an abbreviation for English Hypertextmarkup language, Hypertext Markup Language

. HTML is the format of the Web page

Plain text txt files are not descriptive of the semantics of the document, the document can not distinguish between the main title, paragraph, so the HTML came into being

  HTML file, which is to add semantics to text through HTML tag pairs

Three. The role of HTML

HTML can only do one thing, that is, through tag pairs, to add semantics to text, is the only HTML can do

    HTML, except semantics, nothing else

  HTML is a plain text file (TXT file renamed), with some tags to describe the semantics of the text, these tags are not visible in the browser, so

is called "hypertext", so it is "Hypertext Markup Language"

  Interview Point: In the interview, you may ask the HTML tag for the role of the child, such as: H1 tag what is the use?

Correct answer: Add the semantics of the main title to the text

Wrong answer: bold, black, and enlarged text

Four. Some common shortcut keys in sublime:

CTRL + Scroll wheel: Zoom out text

Ctrl+shift+d: copying when moving forward

Ctrl+shift+k: Delete When moving forward

Ctrl+shift+↑: Move Up forward

Ctrl+shift+↓: Move down when moving forward

    

1.HTML Initial Knowledge

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.