HTML tags can be custom-defined, but we have to consider their compatibility issues with IE, Firefox, and Chrome.For example:
Copy CodeThe "myattr" here is the custom attribute of this tag.If a property is defined but not used, then this property has no meaning, and the next step is to invoke the value of our custom property.In IE, we can call it directly after we get the object.
document.getElementById ("Newtest"). myattr;
Copy CodeIn IE, we can also dynamically gen
How much do you know about the use of html5
Definition and usage of html5
Properties of the html5
HTML5 embed tags using methods and properties in detail:
Basic syntax
The code is as follows:
Embed Src=url
Description: Embed can be used to insert a variety of multimedia, format can be Midi, Wav, AIFF, AU, MP3 and so on, Netscape and the new version of IE are supported. The URL is an audio or video file a
Recently testing an old system, when the launch of the @value injected in the Chinese is garbled, the file use Gbk/utf-8 when the problem is garbled, but the spring configuration file inside the placeholder does not have this problem, the bean file set file-encoding="UTF-8" is also true. After investigation, can be solved by the following way:= "Classpath:conf/spider.properties", encoding = "Utf-8") @Getterpublicclass Spiderconfig { @Value ("${a}") private String A; @Value ("${b}")
In the Iphone's browser, the page will be displayed in its original size and not allowed to Scale.The height of the width-viewport width height-viewportInitial-scale-initial Zoom ratioMinimum-scale-minimum scale to allow the user to zoomMaximum-scale-maximum scale to which the user is allowed to zoomUser-scalable-whether the user can manually scaleDelete the default Apple toolbar and menu bar. The content has two values "yes" and "no", and when we need to display the toolbar and menu bar, The ro
Table Label Properties:Table Tags: 1, border (border)2, align (horizontal position: Left, center, right)3, cellpadding (the shortest distance from the cell border)4, bgcolor (background color)5, background (background image, background image more preferred than color)6, cellspacing (border thickness)7, valign (vertical position: top, middle, bottom)Merge methods for line 1. rowspan (merge cells down), select the Starting cell, select the number of cells to merge down2. Colspan (merge cells to th
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.