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 style block 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 style block.
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 script block 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 script block.

Referencing CSS rules and JavaScript functions

🔗 🔎