This article mainly introduces how to set the font size of the HTML font tag, this is actually similar to CSS, but the other two font tag properties can not be used, with CSS instead, but we should introduce the introduction, lest someone forget,
HTML5 tags can be omitted, without affecting the layout of the page, you can save page size. Reduce the amount of code.
Some tags can be omitted.
Omitting the start tag of a tag does not mean that the tag does not exist, it is implied, but it
Mark
Type
Name or meaning
Function
Remarks
File tag
●
File Declaration
Let the browser know that this is an HTML file
●
Start
Provide overall File Information
HTML does not use CSS style to make the text smaller, many people forget this element, small tag its function is to be able to use in most elements, and let the small label selected text smaller than normal text a font size, which is small tag, Next,
First, HTML tagsHTML tag tags are often referred to as HTML tags (html tag).HTML tags are keywords surrounded by angle brackets, such as HTML tags are usually paired, such as and • The first label in the pair is the start tag, the second tag is the
a common head element tag The element contains all the header tag elements.1. The tag defines the title of the HTML document, which is required in the html/xhtml document.Main functions:
Defines the title of the browser toolbar;
The
Examples of html page tag conversion effect and html page tag
Paste the conversion effect of an HTML page tag. For your reference
First, let's take a picture.
You can switch between the left and right sides of the page.
The code is very simple.
Differences in interpretations of ClientHeight, offsetheight, ScrollHeight, ClientWidth, offsetwidth, and scrollwidth in four different browsersWeb page Visible area width: document.body.clientWidthWeb page Visible Area height:
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.