HTML-tag Scopes:
- Most of the standard HTML tags have pre-defined scope definitions in HFL.
- Each HTML tag of the form <xx> is referenced by a scope of the form xx { ... }
-
For example:
- <body> ... </body>
-
would be referenced in HFL code by:
- body { ... }
Built-in Scopes:
- In addition to the standard HTML tags, HFL also has the following pre-defined scope types as a convenience to help identify common and useful structure elements.
-
The HTML scopes below match HTML elements of the same name. For example:
- body_content { ... }
-
would match:
- <body_content> ... </body_content>
- Those scopes below that are either separator-based or pattern-based are found by matching text patterns within the HFL source, and do not have corresponding HTML tags.
- Unless otherwise marked, all of the other scopes below refer to HTML tags.
-
it is necessary to apply an operation to the scope itself,such as a cut in:cut { this_scope }NOTE: This scope is not an HTML tag'Standardized' tags are normal HTML tags that areprovided to encourage standarization of tag names.into <col> cells using tabs and spaces as separatorsNOTE: This scope is not an HTML taginto <div> cells using '\n' as the separatorinto <div> cells using '\n\n' as the separatorinto <div> cells using '\n---\n' as the separatortag on outputinto <div_txt> cells using '\n' as the separatorinto <div_txt> cells using '\n\n' as the separatorinto <div_txt> cells using '\n---\n' as a separatorto place links to images in the <head> sectionto place links to javascript scripts in the <head> sectionto place links to javascript scripts at end of <body> sectionnot HFL. Undeclared identifiers are seen as object properties.lead-in-emphasis characters, e.g. 'Important:'leading whitespace characters, e.g. ''a single line of text between '\n' characters.a single line of text excluding '\n'into <li> cells using '\n' as the separatorinto <li> cells using '\n\n' as the separatorrandom <ul>sinto <nav_link> cells using '\n\n' as the separatorscope at '\n\n' separators without assigning tagsinto <p> cells using '\n' as the separatorinto <p> cells using '\n\n' as the separatorcharacters. Also unfortunately matches <php> ... </php>.scripts at end of <body> section. Often used to speed uploading times of pages.a single sentence up to '.'into <td> cells using '\n' as the separatorinto <td> cells using '\n\n' as the separatorinto <td> cells using '\t' as the separatorcreates one if none present.tags are ignored. Everything within tag is loaded as one cellinto <th> cells using '\n\n' as the separatorinto <tr> cells using '\n---\n' as the separatorinto <tr> cells using '\n\n' as the separatorcharacters valid for a single word or property name