Шаблон:Samp/doc: различия между версиями
[непроверенная версия] | [непроверенная версия] |
Содержимое удалено Содержимое добавлено
WindEwriX (обсуждение | вклад) м блин, постоянно путаю |
Sunpriat (обсуждение | вклад) Нет описания правки |
||
Строка 18:
</code>
В результате выполнения скрипта вы увидите текст <samp>Ваш браузер поддерживает JavaScript 1.3</samp>, в том случае, если браузер работает с версией 1.3.▼
▲ браузер поддерживает JavaScript 1.3</samp>, в том случае, если браузер
This template is for explicitly indicating that the content inside it represents example output from a computer program or other machine source ([[automated attendant]]/[[interactive voice response]] call system, [[exit code]] of an application, [[standard output]], LCD display, etc.) It uses the [[[XHTML|X]]][[HTML]] element {{tag|samp}} (''sample output'') which exists for this purpose, and applies some styling to it, namely a faint greying out of the text color to visually difference it from source code and input. It retains the default monospaced (non-proportional) font style of the {{tag|samp|open}} element. Because it uses {{tag|samp}} instead of simply applying visual style effects, it is [[semantic markup]] that conveys meaning, and it can be further acted upon by the user agent (e.g. with custom local style sheets). This tag is the exact opposite of {{tlx|kbd}}, which is for example input.
|