HTML self-learning (1) basic elements and attributes exercises (self-writing code) _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
I learned from the W3school tutorial. I personally think the tutorial is very good. Every section has a small exercise. Come on! I think it is good to write code by myself because I have no foundation, if you want to know more, please refer to the tutorial above W3school. I personally think the tutorial is very good. Every section has a small exercise. Come on!
I think it is good to write code on my own because I have no foundation. Hey, I have different opinions ..
Exercise 1:

The Code is as follows:




This is heading 1
This is heading 1
This is heading 1
This is heading 1
This is heading 1
This is heading 1


This is the first paragraph


This is the link area.

This is baidu link


This is w3school link
This is the image area


This is the table area.









Month Savings
January $100

Line feed function

This sentence
Line feed here



This section contains many
Empty row
Or space
However, the browser automatically ignores
They


 
This is pre-formatted text
Empty rows can be displayed.
And space
Code

 
while(true)
{
sum=a+b;
return sum;
cout<
}




Exercise 2:

The Code is as follows:




This text is bold

This text is strong

This text is big

This text is small

This text is emphasized

This text is italic

This text contains subscript

This text contains superscript


 
This is pre-formatted text
Haha
Space can be output
Empty line


while(true)
{
computer code;
}

Keyboard input

Sample text

Computer variable

Address exercise:

SHUDIP, Tianjin

FERT R

ABC (accept)

Zip code: 123456

Abbreviated exercise

Etc.

Www.
Exercise in the text direction // This function is not supported. It is supposed to output text from right to left.

Here is some text
Block reference exercise

This is a long reference
This is a long reference.
This is a long reference. This is a long reference.
This is a long reference.

This is a short reference
Short reference wow, short reference
Delete or add a text effect exercise

A dozen20th12thOh





It must be super simple. Hey, stick to it!

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.