HTML 사전

basefont

경고 : HTML5부터 사용되지 않습니다.

설명

The HTML basefont element (<basefont>) establishes a default font size for a document. Font size then can be varied relative to the base font size using the <font> element.

<basefont>는 문서의 기본 폰트 사이즈를 지정한다. 

The <basefont> element was deprecated in the standard at the same time as all elements related to styling only. Starting with HTML 4, HTML does not convey styling information anymore (outside the <style> element or the style attribute of each element). In HTML 5, this element has been removed completely. For any new web development, styling should be written using CSS only.

<basefont> 속성은 HTML4에서 폐지예정 되었고, HTML5에서 폐지되었다.

속성

Like all other HTML elements, this element supports the global attributes.

color

This attribute sets the text color using either a named color or a color specified in the hexadecimal #RRGGBB format.

문서의 기본 폰트 색상을 지정

face

This attribute contains a list of one or more font names. The document text in the default style is rendered in the first font face that the client's browser supports. If no font listed is installed on the local system, the browser typically defaults to the proportional or fixed-width font for that system.

문서의 기본 폰트 지정

size

This attribute specifies the font size as either a numeric or relative value. Numeric values range from 1 to 7 with 1 being the smallest and 3 the default.

문서의 기본 폰트 사이즈 지정

예제

<basefont color="#FF0000" face="Helvetica" size="+2" />

DOM Interface

This element implements the HTMLBaseFontElement interface.

<basefont> 엘리먼트는 HTMLBaseFontElement 인터페이스를 구현한다.

댓글

댓글 본문
버전 관리
egoing@gmail.com
현재 버전
선택 버전
graphittie 자세히 보기