Basic Web knowledge (1)

Source: Internet
Author: User

Recently, to learn PHP, you must first learn the basics step by step.

Find the answer in Baidu search engine: To become a PHP Master, you must learn HTML/CSS website development technology, Javascript script programming, Web Server

Website construction technology, PHP basic programming, XML basics, database development and design, and project practice.

If you are interested, you can join the php development group: 235476420. I hope you can join the discussion and study, ask more questions, and learn more.

Today, I will start from the basic HTML. InW3school website learns basic HTML knowledge.

I. html Basics

1. html title:HTML heading is defined by

For example:<H1> my topic 1

<H2> my topic 2 </H2>

<H3> my topic 3

2. HTML section:The HTML section is defined by the <p> label.

<P> This is the content in the paragraph. </P>

3. HTML link: the HTML link is defined by the <A> label.

<A href = "http://www.baidu.com"> Baidu </a>

4,HTML image:HTML images are defined using the label.

Ii. HTML elements

HTML elements refer to allCode.

HTML element syntax

    • The HTML element usesStart tagStart
    • The HTML element usesEnd tagTermination
    • Element ContentIs the content between the start tag and the end tag.
    • Some HTML elements haveEmpty content)
    • Empty ElementClose in start tag(End with the end of the start tag)
    • Most HTML elements can haveAttribute

III,HTML attributes

HTML tags can haveAttribute. Attribute provides HTML elementsMore information.

Attributes always appear in the form of name/value pairs, such:Name = "value".

Attribute is always in the HTML ElementStart tag.

Iv. html title

Heading is defined using

<H1> define the largest title. <H6> define the smallest title.

HTML horizontal line: The <HR/> tag creates a horizontal line on the HTML page. The HR element can be used to separate content.

 

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.