today I'm going to share some of the things I've put together. notes for the basic HTML section.
first of today first part: Marquee Marking
<marquee></marquee>
Common Properties:
L Direction: Scroll Direction value left ( default is scroll right up, down
L Behavior: Scrolling Way value:Scroll ( scrolling default ) slide ( swipe to scroll only once ) Alternate ( play ping-pong like )
L Width: Set width
L Height: Set height
L BgColor: Set Background color
L scrollamount: The step value of scrolling moves the higher the value the faster the faster
Second, the computer into the system
There are several types of binaries in the computer:
decimal: 0, 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 radix: 10
binary: 0, 1 radix: 2
Octal :0,1,2,3,4,5 ,6,7 Radix:8
16 binary:0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,FBase: -
What is in the life of the system:
Decimal
hours
Seven days one weeks
one hours in minutes .
365 days means one year
a year in the month
two equals 1 Jin
How to convert the other binary to decimal :
Press Right to expand
(123456.11) 10 = 1*105+2*104+3*103+4*102+5*101+6*100+1*10-1+1*10-2
(1001.11) 2 = 1*23+0*22+0*21+1*20+1*2-1+1*2-2 9.75
(67) 8 = 6*81+7*80 = 55
(FF) 16 = 15*161+15*160 = 255
How decimal is converted to binary
Integral part and fractional part
integer part: Except 2 take -up method
Number of decimal parts
take the 2 rounding method
Computer it only recognizes Binary
Third, the computer code
because the computer can only recognize the binary
at the beginning of the invention of the computer, it was no way to recognize human language.
Letters A in Xiao Ming classmate 's computer above is to use 1001 to express
Letters B on the computer of Xiao Qiang is using 1001 to express
because the computer was invented by the Americans. The United States has a standardization bureau it has set a set of character encoding standards to enable communication between computers and computers. ASCII Encoding
ASCII encoding
it uses a byte to store the characters Each character is stored using a single byte
The total number of characters a byte can store:
one byte equals 8 bits It can store a total of four characters
ASCII encoding It can be used in English-speaking countries
every country wants to use computers for communication. but ASCII encoding is not available for non-English-speaking countries so extended ANSI encoding for ASCII encoding
ANSI encoding
it uses 2 bytes to store the characters
a Chinese character it actually occupies a two-byte position.
2 bytes can be stored together 256*256 = 65536 characters
GB2312 encoding
It was developed by the China Standardization Bureau in 1980, where it stored 6000 multiple Chinese characters .
Zhu
It also uses 2 bytes to store
GBK encoding
It also uses 2 bytes to store
It stores more than 2W Chinese characters in total
Unicode
It wants every country and country to have normal communication.
it uses four-byte bytes to store characters
now it 's a total of more than a million characters
UTF-8
We can interpret this character encoding as a bot
It uses a few bytes to store characters based on the character's condition .
A uses a single byte to store
I use two bytes to store
the greatest amount of space is reduced
Iv.head Mark
title tag
The purpose of this tag is to display the title of the page.
meta tags
Its main role:
n It tells the browser what encoding to use to parse the current document
n it can implement Web page refresh
n it can implement Web page jump
It can also achieve SEO Optimization
tell the browser what encoding to use to parse the current document
<meta http-equiv= "Content-type" content= "text/html;charset= character encoding " >
XHTML
Extensible Hypertext Markup Language
the HTML syntax is slightly stricter!!
L single- sided mark to end
L label name must be lowercase
The L property must have a property value
L must have a DTD definition in front of the document
Super Link
<a href= " Destination address URL to link " target= "_self|_blank" > text or picture </a>
relative path
Peer Relationship the current file is in the same folder as the destination file
Parent Relationship The target file is at the top level of the current file
Subordinate Relationship The target file is at the next level of the current file
Parent Relationship : .. / Indicates the previous level
.. /.. / indicates upper level two
Anchor Point Link
To implement an anchor link requires two steps:
First step: To define an anchor point
<a name= " anchor name " ></a> or <a id=" anchor name " ></a>
Second step: To find the defined anchor link
<a href= "# Anchor name " > text or picture </a>
Picture Markers
SRC: URL address of picture
Alt: The text message displayed when the picture does not exist is advantageous to seo optimization
Title: The text message displayed when the mouse is placed above the slice
Width: Set the picture's widths
Vspace: Set the distance between the top and bottom of the picture
Hspace: Set the left and right distance of the picture
HTML Basic Share