The voice of the front-end Tom

Source: Internet
Author: User

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.