8 powerful techniques for HTML web page creation

8 powerful techniques for HTML web page creation
<br />Although there are many web page creation tools that allow you to complete the work easily, you can get greater control if you use HTML. Here are a few tips.
1. Using <tt>, <i>, <br> statements to control text layout is much better than using <pre>. For example: <tt>Practical Network<br><i>Zeng Weibin</i><br></tt>
2. Do not use 800*600 resolution to create web pages. When viewers view the web pages at 640*480, it will not only slow down the speed but also cause the images and text on the web pages to be misaligned. Of course, you can also use frame, level control, table and other identification statements to replace the set pixels, but this increases the workload.
3. Using <br><p> will only have one line, while using <p><br> will have an extra blank line.
4. Use hexadecimal numbers to define the colors of web pages instead of using statements such as red, black, etc., so that you can make full use of the 216 colors of the Web color palette (the other 40 colors are difficult for ordinary people to distinguish).
5. Adding <base target="_top"> in the <head> will prevent your web page from shrinking when the frame is linked to elsewhere, or use <a target="_new" href="http://..."></a>
Opens a new window.
6. Using <div> will allow many browsers to see the center effect of the table. If you are using Netscape 4.0, you can also add align=center instead.
7. The four special characters (<, >, &, ") in HMTL cannot be written directly in the file. They must be replaced with the following statements: <=< >=> &=& "=" (English letters must be lowercase)
8. Some semantic formatting font effects <cite>, italic fonts for titles <code>, bold fonts for displaying source code <em>, italic fonts for emphasis <kbd>, bold fonts for requiring keyboard input <samp>, bold fonts for indicating status <strong>, emphasized bold fonts <var>, italic fonts for constructing variables

<<:  Detailed explanation of how to use WeChat mini program map

>>:  Steps to deploy multiple tomcat services using DockerFile on Docker container

Recommend

JavaScript to implement a simple shopping form

This article shares the specific code of JavaScri...

Detailed example of using if statement in mysql stored procedure

This article uses an example to illustrate the us...

Graphic tutorial on configuring nginx file server in windows 10 system

Download the Windows version of Nginx from the Ng...

How to use Typescript to encapsulate local storage

Table of contents Preface Local storage usage sce...

Explain TypeScript enumeration types in detail

Table of contents 1. Digital Enumeration 2. Strin...

Solution to the problem of installing MySQL compressed version zip

There was a problem when installing the compresse...

Vue uses vue meta info to set the title and meta information of each page

title: vue uses vue-meta-info to set the title an...

Some useful meta setting methods (must read)

<meta name="viewport" content="...

Detailed installation tutorial of zabbix 4.04 (based on CentOS 7.6)

1. Preparation before installation: 1.1 Install J...

Example of using CSS3 to achieve shiny font effect when unlocking an Apple phone

0. Introduction August 18, 2016 Today, I noticed ...

Error mysql Table 'performance_schema...Solution

The test environment is set up with a mariadb 5.7...

Pure CSS to change the color of the picture

The css technique for changing the color of an im...