Referencing CSS rules and JavaScript functions
Styling & Scripting
Using CSS
Styling rules can be added to BLUEPHRASE documents using shorthand notation, inline style tags, or externally linked stylesheets.
- Defining styling rules
- Using a
styleblock to define decoration rules. - Linking to external stylesheets
- Using an external file as a CSS stylesheet.
- Including external stylesheets
- Embedding the contents of an external file into a
styleblock. - Styling a single phrase
- Applying unique styling directly to phrases.
Using JavaScript
Scripts can be embedded using inline script tags or external sourcerefs.
- Embedding scripts
- Using a
scriptblock to add JavaScript functions to a document. - Linking to external scripts
- Using an external file that contains JavaScript functions.
- Including external scripts
- Embedding the contents of an external file into a
scriptblock.
