Home > Web Front-end > HTML Tutorial > Use HTML to implement a web page with a personal information table (code example)

Use HTML to implement a web page with a personal information table (code example)

不言
Release: 2018-10-12 17:46:35
forward
30880 people have browsed it

The content of this article is about using HTML to implement a personal information web page (code example). It has certain reference value. Friends in need can refer to it. I hope it will be helpful to you.

Summary of HTML tags

1. What are the inline tags and block-level elements to learn?
Inline tags: span, strong, a, img , input, textarea
Block-level elements: p, h1-h6, p, hr, pre, ul, ol, dd, dt, th. tr, td

2. Differences and characteristics between the two ;
1). Block-level elements occupy one line of space exclusively, and inline elements only occupy the space of their own width;
2). Block-level elements can contain block-level elements and inline elements; inline elements can only contain text information and Inline elements;
3). The width and height can be set for block-level elements, but the width and height set for inline elements are invalid;

3. How to center block-level elements? How to center inline elements?
1); Block-level elements are centered: margin: 0 auto
2) Inline elements are centered: text-aligin:center

Personal information

includes name, Common content such as gender.

nbsp;html>


    <meta>
    <title>个人信息</title>


<h2>个人信息表</h2>
Copy after login
                                                                                                                                                                                                                                                                                                                 
姓名性别
手机号码电子邮箱
教育程度工作职位
工作城市期望工资
自我介绍
特长
家庭住址
感谢您的参与
                                  

Use HTML to implement a web page with a personal information table (code example)

The above is the entire content of this article. For relevant knowledge about HTML, you can refer to the HTML Development Manual of the PHP Chinese website to learn.

The above is the detailed content of Use HTML to implement a web page with a personal information table (code example). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template