--- title: HTMLBaseFontElement slug: Web/API/HTMLBaseFontElement translation_of: Web/API/HTMLBaseFontElement ---
The HTMLBaseFontElement
interface provides special properties (beyond the regular {{domxref("HTMLElement")}} interface it also has available to it by inheritance) for manipulating {{HTMLElement("basefont")}} elements.
The <basefont>
element has been deprecated in HTML4 and removed in HTML5. This latest specification requires that this element implements {{domxref("HTMLUnknownElement")}} rather than HTMLBaseFontElement
.
从父类 {{domxref("HTMLElement")}} 继承属性。
#RRGGBB
format.1
to 7
with 1
being the smallest and 3
the default. Relative value starts with a '+'
or a '-
'.无具体方法;从父类 {{domxref("HTMLElement")}} 继承方法。
规范 | 状态 | 备注 |
---|---|---|
{{SpecName("DOM2 HTML", "html.html#ID-32774408", "HTMLBaseFontElement")}} | {{Spec2('DOM2 HTML')}} | No change |
{{SpecName("DOM1", "level-one-html.html#ID-32774408", "HTMLBaseFontElement")}} | {{Spec2('DOM1')}} | Initial definition |
{{Compat("api.HTMLBaseFontElement")}}