The voice of the front-end Tom
First of all, I first learned from MOOC online and originally learned from geek college. Later, I felt that the tutorial was not suitable for beginners (actually it was a 0-Foundation ), so I switched to MOOC. MOOC is really good at learning. It has the function of writing code on an online webpage. New students can watch their own code in real time!
Well, let's go to the topic.
Well, today, I mainly use simple tag usage and form creation in HTML.
I. tags
1. I sorted it out, there are roughly html tags,
2. A few simple examples.
(1)
<! Doctype html>
<Html>
<Head>
<Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8">
<Title> p tag </title>
</Head>
<Body>
<P> number1 </p>
<P> number2 </P>
</Body>
</Html>
The following code lines are displayed on the webpage:
Number1
Number2
(2) <span> label: Set a separate Style
<! Doctype html>
<Html>
<Head><Meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8">
<Title> The Great Gatsby </title>
<Style>
Span {
Color: blue;
}
</Style>
</Head>
<Body>
<Span> the displayed result is:
Hello World
Ii. Create a form
1. The form is actually used to pass the data input by the browser to the server so that the server can process the data.
2. Use the form interaction Syntax:
<Form method = "Transfer method" action = "server">
</Form>
3. Explanation:
(1) action: The place where the viewer inputs the data, such as a PHP page (save. php)
(2) method: Data Transmission method
**************************************** **************************************** ***********************************
Well, let's talk about it today. Thank you for your support!