×
Namespaces

Variants
Actions

Ovi browser对HTML的支持

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata

文章
max.chen 在 08 May 2011 创建
最后由 hamishwillee 在 09 May 2013 编辑

本文的表二中列出了目前Ovi browser所支持的HTML标签以及这些标签支持的HTML属性和CSS属性。为例避免重复,在表一中将一些在表二中反复出现的属性组列了出来。关于Ovi browser的一些限制请参考: Series 40 web apps目前不支持的特性


表一 属性组

属性组 属性列表


event-attributes onblur, onchange, onclick, onfocus, onswipeleft, onswiperight, onswipeup, onswipedown, navleft, navright, navup, navdown, longpress
border-properties border-color, border-style, border-top-color, border-right-color, border-bottom-color, border-left-color, border-top-color, border-right-color, border-bottom-color, border-left-color, border-top-width, border-right-width, border-bottom-width, border-left-width,border-width
margin-properties margin-top, margin-right, margin-bottom, margin-left, margin
padding-properties padding-top, padding-right, padding-bottom, padding-left, padding


transition-properties -webkit-transition-delay, -webkit-transition-duration, -webkit-transition-property,-webkit-transition-timing-function

在表二中列出的HTML标签虽然 Ovi browser是支持的,但是我们并不推荐使用。详细情况请参考Series 40 web apps: Best practices guide

表二 Ovi browser HTML 标签

标签 支持的HTML属性 支持的CSS属性
a event-attributes, href, id, name background-color, color, direction, display, font-size, font-style, font-weight, text-decoration, unicode-bidi, vertical-align, white-space


area alt, cords, href, id, shape


b class, id, lang, onclick, style, title background-color, color, direction, display, font-size, font-style, font-weight, text-decoration, unicode-bidi, vertical-align, white-space


base href
bdo event-attributes, id background-color, color, direction, display, font-size, font-style, font-weight, text-decoration, unicode-bidi, vertical-align, white-space
blockquote cite, class, dir, id, lang, onclick, style, title background-color, color, direction, display, font-size, font-style, font-weight, text-decoration, unicode-bidi, vertical-align, white-space
body onload, onresize, onunload background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, unicode-bidi, white-space, width
br
button accesskey, class, dir, disabled, id, lang, name, onblur, onclick, onfocus, style, tabindex, title, type, value background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, margin-properties, padding-properties, text-decoration, vertical-align, width
dir class, dir, id, lang, onclick, style, title background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, list-style-type, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, transition-properties, unicode-bidi, white-space, width
div event-attributes, id background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, transition-properties, unicode-bidi, white-space, width
em class, dir, id, lang, onclick, style, title background-color, color, direction, display, font-size, font-style, font-weight, text-decoration, unicode-bidi, vertical-align, white-space
font class, color, dir, face, id, lang, size, style, title background-color, color, direction, display, font-size, font-style, font-weight, text-decoration, unicode-bidi, vertical-align, white-space
form action, event-attributes, id, method, name background-color, border-properties, color, direction, display, font-size, font-style, font-weight, height, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, transition-properties, unicode-bidi, white-space, width
h1, h2, h3, h4, h5, h6 align, class, dir, id, lang, onclick, style, title background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, transition-properties, unicode-bidi, white-space, width
head
html
i class, id, lang, onclick, style, title background-color, color, direction, display, font-size, font-style, font-weight, text-decoration, unicode-bidi, vertical-align, white-space
img alt, event-attributes, height, id, src, usemap, width background-color, border-properties, direction, display, height, margin-properties, padding-properties, unicode-bidi, vertical-align, width


input alt, checked, disabled, event-attributes, height (for input type image only), id, maxlength, name, readonly, size, src, type, usemap, value, width (for input type image only) background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, margin-properties, padding-properties, text-decoration, vertical-align, width
li event-attributes, id, value (used for ordered list) background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, list-style-type, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, transition-properties, unicode-bidi, white-space, width
map id, name
menu class, dir, id, lang, onclick, style, title background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, list-style-type, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, transition-properties, unicode-bidi, white-space, width
ol event-attributes, id background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, transition-properties, unicode-bidi, white-space, width


option disabled, id, readonly, selected, value


p align, class, dir, id, lang, onclick, style, title background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, transition-properties, unicode-bidi, white-space, width
progress id, name, value
q cite, class, dir, id, lang, onclick, style, title background-color, color, direction, display, font-size, font-style, font-weight, text-decoration, unicode-bidi, vertical-align, white-space
select disabled, event-attributes, id, multiple, readonly, size (if multiple is specified) background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, margin-properties, padding-properties, text-decoration, vertical-align, width
span event-attributes, id background-color, color, direction, display, font-size, font-style, font-weight, text-decoration, unicode-bidi, vertical-align, white-space
table border, cellpadding, cellspacing, event-attributes, id background-color, background-image, background-position, background-repeat, border-properties, direction, display, height, margin-properties, min-height, padding-properties, transition-properties, width
td colspan, event-attributes, id, rowspan background-color, background-image, background-position, background-repeat, border-properties, color, direction, font-size, font-style, font-weight, height, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, unicode-bidi, vertical-align, white-space, width
textarea cols, disabled, event-attributes, id, name, readonly, rows background-color, border-properties, color, direction, display, font-size, font-style, font-weight, height, margin-properties, padding-properties, text-decoration, vertical-align, width
th abbr, align, axis, bgcolor, char, charoff, class, colspan, dir, headers, height, id, lang, nowrap, onclick, rowspan, scope, style, title, valign, width background-color, background-image, background-position, background-repeat, border-properties, color, direction, font-size, font-style, font-weight, height, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, unicode-bidi, vertical-align, white-space, width
title
tr id
u class, id, lang, onclick, style, title background-color, color, direction, display, font-size, font-style, font-weight, text-decoration, unicode-bidi, vertical-align, white-space
ul event-attributes, id background-color, background-image, background-position, background-repeat, border-properties, color, direction, display, font-size, font-style, font-weight, height, list-style-type, margin-properties, min-height, overflow, padding-properties, text-align, text-decoration, text-overflow-mode, transition-properties, unicode-bidi, white-space, width



相关链接

This page was last modified on 9 May 2013, at 13:25.
80 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×