Html basics, Summary of code writing, etc. --- ShinePans, html --- shinepans
Index.html:
<Html> <meta http-equiv = "content-type" content = "text/html; charset = UTF-8"/> <Html> <meta http-equiv = "content-type" content = "text/html; charset = UTF-8 "/>
Effect:
Summary:
When writing code, there are many repeated parts when there are large pieces of code that need to be changed. You can use replace to quickly change it without having to change it one by one.
Is there any self-developed html? I 'd like to sum up my experience. I am very grateful to my sister, for example, the keyboard operation skills when I enter the code.
Experts do not dare to do it themselves, but if you want to learn HTML, I personally think that you can watch the video tutorial, learn a lot of intuition, and it is equivalent to a teacher to tell you, and that is, it should be easier to get started with HTML.
Let's not talk about the "keyboard operation skills when entering code. Write anything you want. If you have any "skills", you can write code in some software, which is much more convenient. (For example, if you write code in dreamweaver, there are many tips, it can speed up input and facilitate learning ).
Probably a good HTML tutorial, the skills in it, precautions and other issues should be mentioned, so there is no need to say anything here.
In short, if you want to learn HTML (as long as you don't want to learn a high level), it should be better to implement it, probably because of the length of time each person uses, just go to school with confidence.
Common HTML code includes
Haha, what I see on the Internet is comprehensive, and it is not my summary. I hereby declare it.
<Html>
<Head>
<Title> </title> set the document title
<H1>
<Pre> </pre> pre-formatted text
<U> </u> underline
<B> </B> in bold
<I> </I> italics
<Tt> </tt> typewriter font
<Cite> </cite> reference, usually in Italic
<Em> </em> emphasize text (usually italic and simhei)
<Strong> </strong> aggravate text (usually italic and simhei)
<Font size = "" color = ""> </font> set the font size from 1 to 7. Use the color name or the hexadecimal color of RGB.
Value
<BASEFONT> </BASEFONT> base font mark
<Big> </big> increase the font size
<SMALL> </SMALL> decrease the font size
<STRIKE> </STRIKE> strikethrough
<CODE> </CODE> CODE
<KBD> </KBD> keyboard
<SAMP> </SAMP> example
<VAR> </VAR> variable
<BLOCKQUOTE> </BLOCKQUOTE> scale down to the right
<DFN> </DFN> Definition
<ADDRESS> </ADDRESS> ADDRESS tag
<Sup> </SUP> superscript
<SUB> </SUB> subscript
<Xmp>... </xmp> fixed-width font (in the file blank, line feed, positioning function is effective)
<Plaintext>... </plaintext> fixed-width font (without marking)
<Listing>... </listing> fixed-width small font
<Font color = 00ff00>... </font> font color
<Font size = 1>... </font> minimum font
<Font style = 'font-size: 100 px '>... </font> unlimited increase
◆
<P> </p> Create a paragraph
<G id = "1"> </G>