Jukta Doc

Default rules: display of HTML elements

Основные положения

Макеты

Internal CSS
HTML\CSS каркасной части раскладки (статический markup) изолирован от семантической части, содержащей собственно данные.
Критические для каркаса стили подключаются методом Internal CSS. В целях подстраховки при критических ошибках разворачивания в браузере (несмотря на "медленность" загрузки Internal CSS по сравнению с External CSS).
HTML5 semantic elements
В ряде случаев, тэги HTML, по-умолчанию "блочные", заменены на теги по-умолчанию "строчные". Исходя из предположения, что при критических ошибках данная мера обеспечит для конечного пользователя наиболее наглядное разворачивание "чистого" кода HTML в браузере.
В исключительных случаях используются пользовательские элементы (Custom Elements) с префиксом jt.
Сравните представленные варианты LayDiv, LayBox и LayHTML5, на примере упрощённого Holy Grail:
Layout page
Принцип конструирования раскладки страницы можно рассмотреть на примере скелета этой страницы, макета Doc.
Примеры раскладки макетов: Doc, Cover, Landing.

Text

Text Headings

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Paragraphs

A paragraph (from the Greek paragraphos, “to write beside” or “written beside”) is a self-contained unit of a discourse in writing dealing with a particular point or idea. A paragraph consists of one or more sentences. Though not required by the syntax of any language, paragraphs are usually an expected part of formal writing, used to organize longer prose.

Blockquotes

This paragraph. This text outside q This block tag q (inline quotation) (also known as a long quotation or extract) is a quotation in a written document of text. This text outside q.

A block tag quotation (also known as a long quotation or extract) is a quotation in a written document, that is set off from the main text as a paragraph, or block of text. This without paragraph.

A block quotation (also known as a long quotation or extract) is a quotation in a written document, that is set off from the main text as a paragraph, or block of text. This with paragraph.

It is typically distinguished visually using indentation and a different typeface or smaller size quotation. It may or may not include a citation, usually placed at the bottom. This with paragraph.

This with cite without paragraph inside blockquote. Said no one, ever.
This with cite without paragraph. Said no one, ever.

Inline elements

a href="" This is a text link.

strong Strong is used to indicate strong importance.

b The b element is stylistically different text from normal text, without any special importance.

em This text has added emphasis.

i The i element is text that is offset from the normal text.

ins here we have some inserted text.

u The u element is text with an unarticulated, though explicitly rendered, non-textual annotation.

del This text is deleted.

strike overstruck.

s This text has a strikethrough.

sup Superscript ex2 and f(x)g(x)a+b+c.

sub Subscript for things like x1 and H2.

small This small text is small for for fine print, etc.

abbr Abbreviation: HTML.

dfn The dfn element indicates a definition.

time The time element: .

mark The mark element indicates a highlight.


Obsolete

big This big thing text.

font face=Courier Courier font.

font color=red red text.

font size=6 large size.

Code

kbd Keyboard input: CTRL

code Inline code: <div>code</div>.

samp Sample output: This is sample output from a computer program.

var Variable element: such as x = y.

xmp xmp element:

<strong>xmp element:</strong>, element renders text between the start and end tags without interpreting the HTML*

data value="" Data element: Text example

ruby rp rt Ruby element: 明日 (Ashita)

Pre-formatted text
pre
                  P R E F O R M A T T E D T E X T
                  ! " # $ % & ' ( ) * + , - . /
                  0 1 2 3 4 5 6 7 8 9 : ; < = > ?
                  @ A B C D E F G H I J K L M N O
                  P Q R S T U V W X Y Z [ \ ] ^ _
                  ` a b c d e f g h i j k l m n o
                  p q r s t u v w x y z { | } ~
                


* transferred to inline-block

Groups

Hgroup

Calculus I

Fundamentals

Lists

Definition list

Definition List Title
This is a definition list division.

Ordered List

  1. List Item 1
    1. List Item 11
    2. List Item 12
      1. List Item 111
      2. List Item 112
      3. List Item 113
    3. List Item 13
  2. List Item 2
  3. List Item 3

Unordered List

  • List Item 1
    • List Item 11
    • List Item 12
      • List Item 111
      • List Item 112
      • List Item 113
    • List Item 13
  • List Item 2
  • List Item 3

Tabular data

Table standard - Caption
Table Heading 1 Table Heading 2 Table Heading 3 Table Heading 4 Table Heading 5
Table Footer 1 Table Footer 2 Table Footer 3 Table Footer 4 Table Footer 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table .table-short - Caption
Table Heading 1 Table Heading 2 Table Heading 3 Table Heading 4 Table Heading 5
Table Footer 1 Table Footer 2 Table Footer 3 Table Footer 4 Table Footer 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table .table-width-full Caption
Table Heading 1 Table Heading 2 Table Heading 3 Table Heading 4 Table Heading 5
Table Footer 1 Table Footer 2 Table Footer 3 Table Footer 4 Table Footer 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table Cell 1 Table Cell 2 Table Cell 3 Table Cell 4 Table Cell 5
Table with colgroup > col
Table column color
th 1 th 2 th 3 th 4 th 5 th 6
td 1 td 2 td 3 td 4 td 5 td 6
Character table

The following table has some sample characters with annotations. If the browser’s default font does not contain all of them, they may get displayed using backup fonts. This may cause stylistic differences, but it should not prevent the characters from being displayed at all.

Character test Table with thead tag and colspan="3" attribute. This entry.
Table with tfoot tag and colspan="3" attribute. This entry.
Char. Explanation Notes
ê e with circumflex Latin 1 character, should be ok
em dash Windows Latin 1 character, should be ok, too
Ā A with macron (line above) Latin Extended-A character, not present in all fonts
Ω capital omega A Greek letter
minus sign Unicode minus
diameter sign relatively rare in fonts

Embedded content

Images

No <figure> element

Image alt text

Wrapped in a <figure> element, no <figcaption>

Image alt text

Wrapped in a <figure> element, with a <figcaption>

Image alt text
Here is a caption for this image.

Meter

2 out of 10

Progress

progress

Form elements

Input for Text

Input fields for Text

Input fields for Text .input-short

Textareas

Textareas

Select

Select menus

Checkbox

Checkboxes

Radio

Radio buttons

Action

Action buttons
Action input

Specific HTML5 inputs

HTML5 inputs

Color & Decor

Color

Default
 
jt_brand-80
 
jt_brand-60
 
jt_brand-50
 
jt_brand-40
 
jt_brand-30
 
jt_brand-20
 
jt_brand-10
 
white
 
gray
 
black
 
red
 
orange
 
yellow
 
success
 
success-dark
 
lightblue
 
middleblue
 
blue
 
darkblue
 
violet
 

Actions

Draggable

Drag and drop
Drag and drop
Drag and drop
Drag and drop

Применяется:

//code.jquery.com/jquery-1.5.2.js
//ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.js