American Audio DCD-PRO240 User Manual Page 157

  • Download
  • Add to my manuals
  • Print
  • Page
    / 250
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 156
Freeway Reference: Styling Text
157
157
These tags help search engines and other non-visual readers to determine the importance of information on a page, so use intelligently and
for maximum impact ensure that the heading is relevant to the text that follows it.
Emphasis <em>
The Emphasis tag usually causes the browser to display the text in italics.
For example:
Note that Freeway automatically wraps a <em> tag around the word “brown”:
<h1>Gustav's Hat</h1>
<p class="_lp">Gustav's hat is <em>brown</em> with a pink feather in it.</
p>
Again, like the <h1> tag, you can define the appearance of the text more. In the case above, simply italicizing the text will be enough.
Strong
This tag by default causes the browser to embolden the text it’s applied to.
For example:
The HTML produced looks like this:
<h1>Gustav's Hat</h1>
<p class="_lp">Gustav's hat is <em>brown</em> with a <strong>pink</
strong> feather in it.</p>
The word “pink” has a <strong> tag wrapped around it. Again, you can change the appearance of the text beyond simply emboldening
it using Freeway Pro’s Edit Styles dialogs.
Use in Freeway
All the above options are available to you from within Freeway’s interface. You can apply them as you
would any other style using the Styles & Colors palette.
In the example on the right, an extra
<h1> style has been defined (called “h1.newstyle”), in addition
to those supplied in the default Blank template. You apply these to selected text just as you would any
other style. Freeway will then create appropriate CSS and HTML.
Styles on items
FW Pro only
HTML text boxes and tables can have a default <p> style attached to them. Simply select the item as normal and click on the style’s
name in the inspector palette. The item will then get that style as the default style for any HTML text it contains.
Pages
A page can be given a default style. To apply the style to a page, select the page in the Site panel
(it has to be highlighted) and then click on the style name.
This has the effect of applying a class to the body tag:
Any unstyled text on that page will have the selected style applied.
<body class="BodyText">
Page view 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 249 250

Comments to this Manuals

No comments