Html layout and fonts
A part of this episode is formatted with two columns, like a newspaper episode. As you can see on this page, there is a left column and a exactly column. The trick is to operate a table without borders, and maybe a petty extra cell-padding. An HTML
is used to divide a part of this Web episode into two columns. No argument how much paragraph you add to this page, it will stay inside its column borders.
The tag in HTML is deprecated It is supposed to be removed in a time to come version of HTML. Even if a parcel of citizens are using it, you should try to avoid it, and apply styles instead.
The Tag Should NOT be Used
The environment Wide Web Consortium (W3C) has removed the tag from its recommendations In prospect versions of HTML, style sheets (CSS) will be used to define the layout and display properties of HTML elements. The tag is deprecated in the latest versions of HTML (HTML 4 and XHTML).
The Font class has been enhanced to support the specification of detailed font information and enable the use of sophisticated typographic features.
A Font object represents an instance of a font face from the collection of font faces available on the system. Examples of common font faces include Helvetica Bold and Courier Bold Italic.
Three names are associated with a Font—its logical name, family name, and font face name:
- A Font object’s logical name is a name mapped onto one of the specific fonts available on the platform. The logical font name is the name used to specify a Font in JDK 1.1 and earlier releases. When specifying a Font in Java™ 2 SDK, you should use the font face name instead of the logical name.You can get the logical name from the Font by calling getName. To get a list of the logical names that are mapped onto the specific fonts available on a platform, call java.awt.Toolkit.getFontList.
- A Font object’s family name is the name of the font family that determines the typographic design across several faces, such as Helvetica. You retrieve the family name through the getFamily method.
- A Font objects’ font face name refers to an actual font installed on the system. This is the name you should use when specifying a font in Java 2 SDK. It’s often referred to as just the font name. You can retrieve the font name by calling getFontName. To determine which font faces are available on the system, you can call GraphicsEnvironment.getAllFonts.
Comments
No comments yet. Be first!