<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
This article shares the specific code of JavaScri...
<div id="root"> <h2>Keep go...
This article uses an example to illustrate the us...
Why is the title of the article “Imitation Magnif...
Download the Windows version of Nginx from the Ng...
Table of contents Preface Local storage usage sce...
Table of contents 1. Digital Enumeration 2. Strin...
There was a problem when installing the compresse...
title: vue uses vue-meta-info to set the title an...
<meta name="viewport" content="...
1. Preparation before installation: 1.1 Install J...
0. Introduction August 18, 2016 Today, I noticed ...
The test environment is set up with a mariadb 5.7...
Three functions: 1. Automatic vertical centering o...
The css technique for changing the color of an im...