Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    inserire linguaggio nell'html

    sto usando l'html non xhtml
    se inserisco esempio il linguaggio albanese come testo devo anche inserire lang=""?
    cosa cambia se c'è o meno?
    il pc in lingua albanese vede bene tutto?

  2. #2
    Frontend samurai L'avatar di fcaldera
    Registrato dal
    Feb 2003
    Messaggi
    12,924
    basta guardare sulle specifiche
    http://www.w3.org/TR/REC-html40/struct/dirlang.html

    Language information specified via the lang attribute may be used by a user agent to control rendering in a variety of ways. Some situations where author-supplied language information may be helpful include:

    Assisting search engines
    Assisting speech synthesizers
    Helping a user agent select glyph variants for high quality typography
    Helping a user agent choose a set of quotation marks
    Helping a user agent make decisions about hyphenation, ligatures, and spacing
    Assisting spell checkers and grammar checkers

    The lang attribute specifies the language of element content and attribute values; whether it is relevant for a given attribute depends on the syntax and semantics of the attribute and the operation involved.

    The intent of the lang attribute is to allow user agents to render content more meaningfully based on accepted cultural practice for a given language. This does not imply that user agents should render characters that are atypical for a particular language in less meaningful ways; user agents must make a best attempt to render all characters, regardless of the value specified by lang.
    Vuoi aiutare la riforestazione responsabile?

    Iscriviti a Ecologi e inizia a rimuovere la tua impronta ecologica (30 alberi extra usando il referral)

  3. #3
    ok allora giusto
    <html lang=............>
    perfetto

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.