Senin, 24 Oktober 2011

Intended meaning

When invoked as an idiom, the underlying concept is to make a distinction between the actual meaning of a document, and how this meaning is presented to its readers. A common example is the em element in HTML, to denote emphasis. While emphasis is part of the content of the document, its presentation may be in an oblique font style, but one need not necessarily imply the other: for example, emphasis in text that is already oblique should in fact be printed in some other font style or weight (e.g., normal again or in boldface) that is distinct from that of the text it appears in; conversely, oblique text need not imply emphasis—it could be used to style a preface, for example. Moreover, notice that the foregoing sentence assumes that the output mode is visual; but if the mode were audio, the indication of the intended meaning (emphasis) could be achieved by formatting the em words with a louder or higher-pitched voice by the text-to-speech synthesizer. Separation of content and presentation means that markup is always used for document structure, never for presentation (which is properly the job of tools such as CSS).[1]

Tidak ada komentar:

Posting Komentar