The first data experiment class

The first data experiment class

Yesterday, I just finished the first data experiment class, which is an experimental class. Naturally, it focuses on writing code. But there is also a bombardment of theoretical knowledge, needless to say here.
The experimental class is well-known as the front end of the web service, and it is generally called the basic website design. I have simply learned some website codes and attached the first web page I designed. Insert picture description here
There is also the code. Insert picture description here
Here is an introduction to the software sublime used. If there is no software, you can directly write it in txt and change the suffix to html or htm to open it directly.
Start to briefly explain the code. The
first line is the necessary beginning to write HTML. If you use the software I gave, the system will automatically give
html to represent the beginning of the formal code. The end must end with /html
. The content in the middle of head /head is the style of the page to be displayed. Settings, such as text color, size, background color, etc.
meta charset="utf-8" is the setting of the text translation method. Most browsers can recognize it. If there are garbled characters, it may be a mistake in this step.
title I’m your tyrant/title. The content in the middle is the title. The content is displayed at the top of the page.
style type=“text/css” means that the style will be designed next. If you do not program, the system will use the default format
p{font -size:200px;color: red) This line is the style setting p stands for paragraph font-size: 200px stands for 200 pixels size color: red stands for red font
/style
<head ends the style setting
between body and body The content is the content to be displayed on
the page. The format of p we defined above, so here we start to write the content of
p, the content that we want /p
If you want more different styles, you can use h1 h2 h3 to set multiple times
. Write the content separately below,
end the content setting with /body and
end the coding with /style. This
time the code is relatively simple, I will introduce it to you
next time. To introduce in more detail

Guess you like

Origin blog.csdn.net/weixin_50835854/article/details/109408278