Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to make a simple page with HTML

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces "how to use HTML to make a simple page". In daily operation, I believe many people have doubts about how to use HTML to make a simple page. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the questions of "how to use HTML to make a simple page". Next, please follow the editor to study!

Web page example

Start production

Understanding the HTML framework

Basic framework

Introduction of Georgia Lin

Lang property: describes the language displayed

The overall framework consists of two parts, one is head, which is equivalent to the name and settings of the web page, and the other is body, which contains the specific design of the web page.

Title tag: located inside the tag of head, it is used to display the name of the page. The effect is as follows

Title

Here's the title.

Write the title we need directly in the tag. If you need the title to show the pattern we need, you can add attributes to the tag.

Introduction of Georgia Lin

Style attribute: prescribing styl

Font-family: font, here I chose the lovely Broadway font

Text-align: the location of the font, here I chose to center

Background-color: you can choose the background color here. I chose a lighter blue.

Bold tags: font bold

Title effect

By changing the type and style of the title, we can get the following title:

Insert picture

guangzhou

Img tag: used when inserting pictures

Src attribute: if the picture and the html file are in the same folder, you can reference the name of the picture

Alt attribute: the name of the tag equivalent to the picture in the html document

Align attribute: used to determine the location of the picture, where the center is selected

Picture effect

Insert sidebar

Guangzhou, also known as Canton, is the capital and most populous city of the province of Guangdong in southern China.

Aside tags: for new sidebar

Of course, you can also add attributes to the right of the sidebar.

From Georgia: GZ is the city that I love most, for I was born and raised here!

Flaot: after selecting right, you can keep the sidebar to the right

Br: newline character, which can control the line breaking of text

At this point, the study on "how to make a simple page with HTML" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report