Access Rich-Text: Which subset of HTML is supporte

2019-01-23 06:32发布

Microsoft Access text boxes can be configured as "Rich Text", allowing the user to apply formatting such as bold text or different font sizes. Internally, this "rich text" is stored as HTML.

Since the formatting options provided by Access are limited, it is obvious that only a subset of HTML is used for storing the formatted text. Is there a list somewhere describing which subset of HTML is used? Ideally, I'd like to have a list of tags that could be found in a text field formatted using this Access feature.

1条回答
做自己的国王
2楼-- · 2019-01-23 06:55

The following link lists ALL formatting options that are supported by Access (2007):

http://office.microsoft.com/en-us/access-help/insert-or-add-a-rich-text-field-HA010014097.aspx

In order to get a list of HTML tags, styles etc., I would suggest storing lines of text that have ALL formattings and then check its HTML (e.g. one record per each formatting option - total 16).

...I did it by myself and here is a list of supported HTML tags:

<div>,<font>,<strong>,<em>,<u>,<ol>,<ul>,<li>,<blockquote>

And, styles/attributes per tag:

<font>: face, size, color, style(with BACKGROUND-COLOR only)    
<div>: align, dir
查看更多
登录 后发表回答