| Стандарти на шаблона |
|
|
|
| Автор Administrator | |
| 29 април 2006 | |
|
Стандарти Индетифициране на езика в Head TagHTML element must include the lang attribute. <html xmlns="http://www.w3.org/1999/xhtml" lang="<?PHP echo _LANGUAGE; ?>"> <head> Note: From Joomla 1.1 onwards it will be possible to use $_LANG->isoCode() instead of _LANGUAGE. Reference: Provide a Summary for TablesThe TABLE element should include the summary attribute to describe it's structure and purpose. <table summary="Hits on news compared to help"> <caption>Hits on news compared to help</caption> <!--table cells here--> </table> The use of the summary attribute for layout tables is at the discretion of the designer but is generally not recommended. Reference: Link TextMake link text phrases make sense when they are read out in context and also ensure that different link addresses have different text. For example, avoid the use of "click here". Reference: Associate Form Controls with the LABEL ElementA LABEL element is able to directly associate a description of a form element to the element itself. The LABEL for attribute must uniquely match the id attribute of the form element. <label for="mod_login_username"> <?php echo $_LANG->_( '_USERNAME' ); ?> </label> <br /> <input id="mod_login_username" name="username" type="text" class="inputbox<?php echo $moduleclass_sfx; ?>" alt="username" size="10" /> With this association, some browsers allow for the clicking of the label to acquire focus for the control. Reference: |
| < Предишна | Следваща > |
|---|
| Начало |
| Помощ |
| Статии |
| Въпроси |
| Инсталиране |
| Разработки |
| Търсене |
| За сървъра |
| Обща помощ |
| Модули |
| Ботове |
| Менюта |