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