Getting Started with HTML 1
One, what is HTML
Hypertext Markup Language
Two, how to write an HTML file?
1. Save the file name with new, sublime HTML "format
2. Modify the file name. html format in the new text document, right-click the directory you want to store
Note: The second modification removes the one hidden from the suffix of the folder option ( or directly in the control Panel) .
Three, HTML tags
1, note Ctrl + "/"
2,title
3, Title tag H1 ~ h6
4, paragraph labels <p></p>
5, return line <br>
6, Space:
7, picture
Two ways to address references:
<1> URL---> Absolute reference Address at the beginning of HTTP
<2> local (picture on computer disk) reference
Three ways to refer to the directory:
1, current directory
2, Next Level directory
3, Previous level directory
Picture properties:
Width (width), height (high), Alt, title( compatibility issue, setting the same properties)
7, hyperlinks
Address reference & Picture src reference the same
<a href= "Address link target=" _blank/_self "
_blank: Indicates that the jump page is open
_self: Indicates open on current page
The href can be followed by the web address, or with the local file address
Four, some usages of sublime:
1, change theme ( Preferences--theme scheme)
2. Bring in project folders (items--- Add folders to projects )
3, adjust (sublime) font size
CTRL + ' + ' font becomes larger
CTRL + '-' font becomes smaller
Getting Started with HTML 1