azimuth ',
'background-attachement ',
'background-color ',
'background-image ',
'background-position ',
'background-repeat ',
'background ',
'border-collapse ',
'border-color ',
'border-spacing ',
'border-style ',
'border-top ',
'border-right ',
'border-bottom ',
'border-left ',
'border-top-color ',
'border-right-color ',
'border-bottom-color ',
'border-left-color ',
'border-top-style ',
'border-right-style ',
'border-bottom-style ',
'border-left-style ',
'border-top-width ',
'border-right-width ',
'border-bottom-width ',
'border-left-width ',
'border-width ',
'border ',
'bottom: ',
'caption-side ',
'clear ',
'clip ',
'color ',
'content ',
'counter-increment ',
'counter-reset ',
'cue-after ',
'cue-before ',
'cue ',
'cursor ',
'direction ',
'display ',
'elevation ',
'empty-cells ',
'float ',
'font-family ',
'font-size ',
'font-style ',
'font-variant ',
'font-weight ',
'font ',
'height ',
'left: ',
'letter-spacing ',
'line-height ',
'list-style-image ',
'list-style-position ',
'list-style-type ',
'list-style ',
'margin-right ',
'margin-left ',
'margin-top ',
'margin-bottom ',
'margin ',
'max-height ',
'max-width ',
'min-height ',
'min-width ',
'orphans ',
'outline-color ',
'outline-style ',
'outline-width ',
'outline ',
'overflow ',
'padding-top ',
'padding-right ',
'padding-bottom ',
'padding-left ',
'padding ',
'page-break-after ',
'page-break-before ',
'page-break-inside ',
'pause-after ',
'pause-before ',
'pause ',
'pitch-range ',
'pitch ',
'play-during ',
'position ',
'quotes ',
'richness ',
'right: ',
'speak-header ',
'speak-numeral ',
'speak-punctuation ',
'speak ',
'speech-rate ',
'stress ',
'table-layout ',
'text-align ',
'text-decoration ',
'text-indent ',
'text-transform ',
'top ',
'unicode-bidi ',
'vertical-align ',
'visibility ',
'voice-family ',
'volume ',
'white-space ',
'widows ',
'width ',
'word-spacing ',
'z-index ',
'zoom ',
' !important ',
'content '
);
}
// fin variables $pattern et $replacement
//echo count($patterns).'-';
$proprietes=preg_replace($patterns, $replacements, $string);
if ($proprietes!=$string) {
return '
Résultats sur "propriété :'.$proprietes.'
';
}
if ($string=='show') {
$list .= 'propriété
';
foreach ($replacements as $key ) {
$list .= '- '.$key.'
';
}
$list .= '
';
return $list;
}
}
// fin function link2ref();
function linkpseudo2ref($string1) {
{ // variable $pseudocss
$pseudocss = array(
'#(? '# ',
'#\.#is'
=> '. ',
'#(:link|:visited)#is'
=> ':link|:visited ',
'#(:active|:focus|:hover)#is'
=> ':active|:focus|:hover ',
'#((? ' * ',
'#:lang#is'
=> ':lang ',
'#\+#'
=> ':lang ',
'#\[(.*)?\]#'
=> ' [att] ($0) ',
'#:first-line#is'
=> ':first-line ',
'#:first-letter#is'
=> ':first-letter ',
'#(?(?![a-z\*:-_ ])#'
=> ' > ',
'#first-child#is'
=> 'first-child ',
'#(:before|:after)#is'
=> ':before|:after et voir plus précisement :Contenu généré'
);
}
// fin variable $pseudocss
//echo count($pseudocss).'-';
$pseudo=preg_replace(array_keys($pseudocss), array_values($pseudocss), $string1);
if ($pseudo!=$string1){
return 'Résultats sur pseudo element ,selecteur , ... :'.$pseudo.'
';
}
if ($string=='show') {
$list .= 'Pseudo class , selecteur , ...
';
foreach ($pseudocss as $key => $value ) {
$list .= '- '.$value.'
';
}
$list .= '
';
return $list;
}
}
// fin linkpseudocss()
function linksyntax2ref($string2) {
{ // variable $csssyntax
$csssyntax = array(
'#Rule|sets|declaration|blocks|selectors|\'|\}|\{#is'
=> 'Rule , sets , .... ',
'#@(?!i|m|p)|at-rules#is'
=> 'at-rules ',
'#inherit#is'
=> 'inherit ',
'#@import#is'
=> '@import ',
'#@media#is'
=> '@media ',
'#strings|chaine de caractere#is'
=> 'strings|chaine de caractere ',
'#counters|compteurs#is'
=> 'counters|compteurs ',
'#colors|couleurs#is'
=> 'colors|couleurs ',
'#url|uri#is'
=> 'url|uri ',
'#/\*|\*/#is'
=> '/* comments */ ',
'#lengths|mesure#is'
=> 'lengths|mesure ',
'#unsupported values|valeurs|values#is'
=> 'valeurs|values '
);
}
// fin variable $csssyntax
//echo count($csssyntax).'-';
$syntax=preg_replace(array_keys($csssyntax), array_values($csssyntax),$string);
if ($syntax!=$string){
return 'Résultats sur syntaxe :'.$syntax.'
';
}
if ($string=='show') {
$list .= 'Syntaxe
';
foreach ($csssyntax as $key => $value ) {
$list .= '- '.$value.'
';
}
$list .= '
';
return $list;
}
}
// fin function linksyntax2ref()
function linkelement2ref($string) {
{ // variable $tagelement
$tagelement= array(
'#_a_#is'
=> ' <a > anchor/ancre </a> ',
'#_em_#is'
=> '<em > emphasis </em> ',
'#_abbr_#is'
=> '<abbr > abbreviation </abbr> ',
'#_acronym_#is'
=> '<acronym > </acronym> ',
'#_address_#is'
=> '<address > </address> ',
'#_applet_#is'
=> '<applet > JAVA applet </applet> ',
'#_area_#is'
=> '<area alt="" href="" shape="" coords="" /> ',
'#_b_#is'
=> ' <b > bold </b> ',
'#_base_#is'
=> ' <base attributs="" /> ',
'#_font_#is'
=> ' <font > deprecier </font> ',
'#_basefont_#is'
=> ' <basefont > deprecier </basefont> ',
'#_bdo_#is'
=> '<bdo dir ="ltr|rtl" > text direction </bdo> ',
'#_big_#is'
=> '<big > deprecier </big> ',
'#_blockquote_#is'
=> '<blockquote cite="" lang="" > long quotation </blockquote> ',
'#_q_#is'
=> '<q cite="" lang="" > short inline quotation </q> ',
'#_body_#is'
=> '<body> </body> ',
'#_br_#is'
=> '<br /> ',
'#_hr_#is'
=> '<hr /> ',
'#_button_#is'
=> '<button> form element </button> ',
'#_caption_#is'
=> '<caption> table element ,one single only </caption> ',
'#_center_#is'
=> '<center> deprecier </center> ',
'#_cite_#is'
=> '<cite> name quotation author or source </cite> ',
'#_code_#is'
=> '<code> </code> ',
'#_col_#is'
=> '<col span="" > table element </col> ',
'#_colgroup_#is'
=> '<colgroup span="" > table element </colgroup> ',
'#_dd_#is'
=> '<dd > definition list element </dd> ',
'#_del_#is'
=> '<del cite="" datetime=""> content modified </del> ',
'#_dfn_#is'
=> '<dfn > definition </dfn> ',
'#_dir_#is'
=> '<dir > deprecier </dir> ',
'#_menu_#is'
=> '<menu > deprecier </menu> ',
'#_div_#is'
=> '<div > neutral block </div> ',
'#_dl_#is'
=> '<dl > list </dl> ',
'#_dt_#is'
=> '<dt > list element </dt> ',
'#_fieldset_#is'
=> '<fieldset > form element </fieldset> ',
'#_form_#is'
=> '<form > form </form> ',
'#_frame_#is'
=> '<frame > frameset element </frame> ',
'#_frameset_#is'
=> '<frameset > should belong to a dtd\'s frameset document </frameset> ',
'#_noframes_#is'
=> '<noframes > should belong to a dtd\'s frameset document </noframes> ',
'#_h1_#is'
=> '<h1 > title level 1 </h1> ',
'#_h2_#is'
=> '<h2 > title level 2 </h2> ',
'#_h3_#is'
=> '<h3 > title level 3 </h3> ',
'#_h4_#is'
=> '<h4 > title level 4 </h4> ',
'#_h5_#is'
=> '<h5 > title level 5 </h5> ',
'#_h6_#is'
=> '<h6 > title level 6 </h6> ',
'#_head_#is'
=> '<head > head document </head> ',
'#_html_#is'
=> '<html > global document </html> voir aussi : <!DOCTYPE HTML ... /> structure html document ',
'#__#is'
=> '<!-- comment --> ',
'#_i_#is'
=> '<i > italic </i> ',
'#_iframe_#is'
=> '<iframe src=""> <a href=""> source iframe content </a> </iframe> ',
'#_img_#is'
=> '<img src="" alt="" width="" height="" /> ',
'#_input_#is'
=> '<input type="" name="" form element /> ',
'#_ins_#is'
=> '<ins cite="" datetime=""> content modified </ins> ',
'#_isindex_#is'
=> '<isindex prompt="" > form element DEPRECIER ! ',
'#_kbd_#is'
=> '<kbd > text to type </kbd> ',
'#_label_#is'
=> '<label > form element </label> ',
'#_legend_#is'
=> '<legend > form element </legend> ',
'#_link_#is'
=> '<link type=""head element /> ',
'#_map_#is'
=> '<map name="" > map areas into an image element </map> ',
'#_meta_#is'
=> '<meta head element , profiler /> ',
'#_noscript_#is'
=> '<noscript > Alternative content to scripts </noscript> ',
'#_object_#is'
=> '<object classid="" data="" (for no html file or contents ) ></object> ',
'#_ol_#is'
=> '<ol > list </ol> ',
'#_ul_#is'
=> '<ul > list </ul> ',
'#_optgroup_#is'
=> '<optgroup name=""> form element </optgroup> ',
'#_option_#is'
=> '<option name=""> form "optgroup" element </option> ',
'#_p_#is'
=> '<p name=""> paragraph </p> ',
'#_param_#is'
=> '<param object element /> ',
'#_pre_#is'
=> '<pre> preformatted text </pre> ',
'#_s_#is'
=> '<s> deprecier </s> ',
'#_small_#is'
=> '<small> decrease text size </small> ',
'#_strike_#is'
=> '<strike> deprecier </strike> ',
'#_u_#is'
=> '<u> deprecier </u> ',
'#_strong_#is'
=> '<strong> strong emphasis. </strong> ',
'#_style_#is'
=> '<style> head element </style> ',
'#_sub_#is'
=> '<sub> text markup </sub> ',
'#_sup_#is'
=> '<sup> text markup </sup> ',
'#_table_#is'
=> '<table> contains table elements </table> ',
'#_tbody_#is'
=> '<tbody> table element </tbody> ',
'#_td_#is'
=> '<td> table element </td> ',
'#_tfoot_#is'
=> '<tfoot> table element </tfoot> ',
'#_th_#is'
=> '<th> table element </th> ',
'#_thead_#is'
=> '<thead> table element </thead> ',
'#_tr_#is'
=> '<tr> table element </tr> ',
'#_textarea_#is'
=> '<textarea> form element </textarea> ',
'#_tt_#is'
=> '<tt> teletype or monospaced text </tt> ',
'#_title_#is'
=> '<title> head element , document title </title> ',
'#_var_#is'
=> '<var> variable argument </var> ',
);
}
//fin variable $tagelement (array)
//echo count($tagelement).'-';
$tag=preg_replace(array_keys($tagelement), array_values($tagelement),$string);
if ($tag!=$string){
return 'Résultats sur balise : - '.$tag.'
';
}
if ($string=='show') {
$list .= 'Balise html
';
foreach ($tagelement as $key => $value ) {
$list .= '- '.$value.'
';
}
$list .= '
';
return $list;
}
}
// fin linkelement2ref();
if (!isset($_POST['htmlproperties'])) {
$reponse.=link2ref(stripslashes(htmlspecialchars($string)));
$reponse.=linksyntax2ref(stripslashes($string2));
$reponse.=linkpseudo2ref(stripslashes($string1));
}
if (isset($_POST['htmlproperties'])) {
$trouve =linkelement2ref($string4html);
$reponse.=preg_replace('#_#','',$trouve);
}
if ($string=='show') {
$reponse .=linkelement2ref($string);
}
if ($reponse=='')
{
$reponse='désolé , je ne sais pas tout ! , essayez '.htmlspecialchars($string).' avec google sur le W3C.
';
}
}
?>
Dictionnaire de liens
et
formulaire de recherche .
Ce dictionnaire contient environ 245 liens vers les recommandations du W3C des propriétés CSS 2.1 , des pseudo-class , de sélecteurs et des balises HTML 4.01
Tapez dans le champs texte le nom:
- de propriété ,
- sélecteur ou
- pseudo-élément ou
- d\'une ou plusieurs balises (x) html sans leurs chevrons
dont vous voulez vérifier les caractéristiques techniques sur le site officiel .
Inscrivez le mot show pour afficher tout les liens du dictionnaire.
';
}
else { ?>
Résultats de recherche :

Cette création est mise à disposition sous un contrat Creative Commons. telecharger cet utilitaire fourni par © DOC-CSS.com