Sekoman.lv 01 Jūlijā 2025 - Otrdiena - 02:19
Sākums Raksti Forums Par projektu
  • Rokasgrāmata "Kā izveidot savu mājas lapu"
  • Rekomendācijas jūsu web-lapas darbības ātruma paaugstināšana ...
  • Šāda tāda teorija par HTML un CSS (Latviski!)
  • Bildes izmērs un izšķirtspēja
  • RegExp - JavaScript regulārās izteiksmes
  • Specsimbolu kodi HTML valodā
  • Piemērs: Kā pelnīt ar Affiliate / Niche marketing un Adsense ...
  • Kas tas tāds - CSS ? CSS pamati īsumā
  • 15 standarta banneru izmēri
  • Nedaudz par "DIV"
  • PHP programmētāja rokasgrāmata
  • Kā novērtēt saites
  • Kā paātrināt lapas ielādes ātrumu
  • JavaScript pāradresācija - redirekts uz citu lapu
  • HTML valoda
  • Все о Google PageRank
  • Kā uzzināt lappuses URL?
  • Tegs <SCRIPT>
  • Tegs <FORM>
  • JavaScript programmēšanas labā prakse
  • On-site faktori: (x)HTML lapas elementa <head> saturs
  • Tegi <H1...H6>
  • Tegs <EMBED>
  • Kā ap tekstu izveidot noteiktas krāsas rāmi?
  • Javascript metodes window.stop() problēmas pārlūkā Internet ...
  • Reitingi un topi – plusi un mīnusi
  • Tegs <DIV>
  • Kādus meta tegus atpazīst Google ?
  • Javascript piemēri darbam ar Cookie
  • JavaScript faila "atlikta" pieslēgšana pēc piepras ...
  • Lattelecom partnerprogramma
  • HTML5 standarta atribūts 'placeholder' teksta ievade ...
  • jQuery UI – spraudnis Draggable
  • Tegs <IMG>
  • Tegs <BODY>
  • jQuery : darbs ar elementiem; CSS selektoru izmantošana
  • Kas ir dokumenta veids (Doctype) ?
  • Vēlreiz par mājaslapas optimizāciju interneta meklētājos
  • Tegs <FIELDSET>
  • Tegs <OBJECT>
  • Создание успешного сайта
  • CSS šrifta izmēru atbilstību tabula
  • Tegs <TABLE>
  • Parametrs wmode Flash failu attēlošanai
  • CSS "spraiti"
  • CSS float problēmas un risinājumi
  • Kas ir Google AdSense?
  • Nestandarta šriftu pieslēgšana web lapā
  • Tegs <INPUT>
  • Tegs <FRAME>
  • Tegs <a>
  • Tegs <META>
  • Kā izmainīt pogas krāsu formā?
  • Tegs <MARQUEE>
  • Kā nopelnīt ar savu interneta projektu?
  • Meta tegi mājaslapas mobilajai versijai
  • Atslēgvārdi
  • Tegs <LI>
  • SEO: Kā iepatikties Google meklētājam?
  • Īss CSS3 apskats
  • Tegs <LINK>
  • Tegs <HR>
  • Tegs <BUTTON>
  • CSS pseido klases (pseido selektori)
  • Tegs <IFRAME>
  • Freimu (<frame>) un Ifreimu (<iframe>) formatēšanas te ...
  • CSS stila īpašību pieslēgšana atkarībā no pārlūka
  • Tegs <BASE>
  • 6 izplatītākās kļūdas izstrādājot mājaslapas mobilajām ierīc ...
  • Tegs <OL>
  • On-site faktori: (x)HTML lapas elementa <body> saturs
  • Tegs <P>
  • Google Pagerank un Google Toolbar PR
  • Off-site faktori: saites un Google PageRank
  • Kā teksta daļu izcelt citā krāsā?
  • Saites atvēršana 'uzpeldošā' logā izmantojot jQuery
  • Tegs <SELECT>
  • Ko apzīmē mērvienība "em" stila atribūtos?
  • Tegs <COLGROUP>
  • Reitingu sistēmu tumšā puse
  • Tegs <SPAN>
  • Tegs <TR>
  • Mazliet par web 2.0
  • Tegs <FRAMESET>
  • HTML koda vai satura nomaiņa elementiem ar zināmu ID, izmant ...
  • Tegs <ABBR>
  • Tegs <AREA>
  • Tegs <DL>
  • Ārējās hipersaites noformēšana, izmantojot jQuery un CSS
  • 10 SEO mīti
  • Kā horizontāli nocentrēt tabulu pārlūka logā?
  • HTML elementu pseidoparametri un to apstrāde skriptos
  • SEO pamati
  • Tegs <BR>
  • Tegs <PARAM>
  • Tegs <BGSOUND>
  • Tegs <FONT>
  • Kā atcelt hipersaišu pasvītrojumu
  • Tegs <PRE>
  • Kā lapā izveidot dažādu krāsu hipersaites?
  • Tegs <SAMP>
  • Tegs <HTML>
  • Atdalām JavaScript funkcijas no HTML koda
  • Tegs <CODE>
  • Tegs <UL>
  • Pseidoklase <:active>
  • Nosacītie komentāri pārlūkiem Internet Explorer
  • Tegs <BASEFONT>
  • Tegs <ACRONYM>
  • Kā pārbaudīt, vai rinda satur doto(s) simbolu(s)?
  • Kā uzzināt, vai lapas kods satur noteiktu tegu (elementu)?
  • Tegs <BLOCKQUOTE>
  • Garas simbolu virknes pārnešana jaunā rindā
  • Tegs <SMALL>
  • Meklētājsistēmas Google filtri
  • Tegs <STRIKE>
  • Tegs <TEXTAREA>
  • Īpašība <@import>
  • Javascript valodā rezervētie vārdi
  • Tegs <STRONG>
  • Stila atribūtu "padding/margin" vērtību īsais pier ...
  • Ko apzīmē pieraksts #fc0?
  • Tegs <TITLE>
  • Tegs <TD>
  • Fancy Partnerprogramma
  • Pseidoelements <:after>
  • Tegs <MAP>
  • Izvēlnes aktīvās saites iezīmēšana tikai ar CSS palīdzību
  • Tegs <CAPTION>
  • Domēnu zonu saraksts
  • Laika parametru iegūšana JavaScript kodā
  • Interneta pārlūka konstatēšana ar jQuery palīdzību
  • Tegs <LEGEND>
  • Tegs <TBODY>
  • Tegs <ADDRESS>
  • Tegs <STYLE>
  • Tegs <NOBR>
  • SEO: Google PageRank
  • Kā izvietot blakus divus fiksēta izmēra slāņus (DIV) ?
  • Tegs <BDO>
  • Tegs <DT>
  • Tegs <COL>
  • Tegs <DD>
  • Tegs <DFN>
  • Tegs <TFOOT>
  • Tegs <I>
  • Tegs <OPTION>
  • Tegs <B>
  • Tegs <LABEL>
  • Tegs <INS>
  • Tegs <Q>
  • Tegs <TH>
  • Izmantojam tegu <hr> ar fona attēlu
  • Tegs <HEAD>
  • Tegs <EM>
  • Kā noteikt ekrāna izšķirtspēju un pārlūka loga izmērus ?
  • Tegs <XMP>
  • 10 tipiskas Latvijas Interneta „startapu” kļūdas
  • Tegs <DEL>
  • Tegs <OPTGROUP>
  • Tegs <NOSCRIPT>
  • Tegs <THEAD>
  • Tegs <NOFRAMES>
  • Tegs <SUB>
  • Īpašība <!important>
  • Tegs <TT>
  • Tegs <BIG>
  • 10 ошибок начинающих блоггеров
  • Tegs <WBR>
  • Tegs <VAR>
  • Parametrs target='_blank' citiem vārdiem
  • Tegs <KBD>
  • Tegs <SUP>
  • Tegs <CITE>
  • Tegs <NOEMBED>
  • Alternatīva fona pievienošana vairs neeksistējošam attēlam.
  • Parādām un rediģējam elementu <style>
  • Veidojam failu robots.txt
  • 9 veidi, kā meklēt informāciju iekš Google, par kuriem nezin ...

Vadība

Ieeja lapā
Reģistrācija Uzrakstīt Autoram Ielādēt visus ierakstus
  • black
  • blue
  • green
  • gray
  • pink
  • orange

Reklāma

Sadaļas

HTML
CSS
JavaScript
jQuery
HTML tegi (tags)
CSS īpašības
Vienā teikumā
Vispārīgas WEB lietas
Peļņa internetā

Meklēšana


Birkas

google (10)
css (9)
javascript (7)
jquery (6)
HTML (5)
izmērs (5)
nopelnīt (5)
optimizācija (5)
peļņa (5)
saites (5)
seo (5)
affiliate (3)
attēls (3)
DIV (3)
izmēri (3)
krāsa (3)
mārketings (3)
meklētāji (3)
Meta (3)
Rangs (3)

Partneri

Aptauja

Kāda veida apraksti Jums šķiet nepieciešamāki?
Rezultāti | Aptauju arhīvs
Atbilžu kopskaits: 158
Sākums Raksti HTML

HTMLMeta tegi mājaslapas mobilajai versijai

Mobile META tags can be used in XHTML-MP and HTML markup to tag the document as optimized for mobile devices. Mobile search engines, mobile browsers and even desktop web browsers look for mobile META tags to identify and render mobile-optimized markup.

Mainstream mobile web content is identified using the markup document’s DOCTYPE or document type declaration. If the DOCTYPE declares the document as XHTML-MP or WML, then by definition, the content is mobile-optimized.

Today’s advanced mobile devices and smartphones are capable of rendering HTML 4 and 5 markup (some with JavaScript and AJAX, too). Still, many mobile web developers prefer to deliver a mobile-optimized web experience to these devices. A lightweight and responsive full-HTML mobile web experience provides the best user experience across a mobile network and on the smartphone browser. Since a smartphone-optimized mobile web document uses the full tag set of HTML, its DOCTYPE is no longer the right criteria to use to decide whether the document is indeed optimized for mobile devices.

Mobile META tags can be incorporated into mobile-optimized HTML documents to identify the document as "made for mobile”. Here are several common mobile META tags and their interpretations by mobile browsers, mobile search engine spiders and robots.

The MobileOptimized META Tag

Microsoft invented the MobileOptimized META tag to control the layout width for mobile markup rendered in Internet Explorer Mobile (i.e. Pocket IE). The content of the meta tag is an integer width in pixels. In IE Mobile, the presence of this META tag forces a single-column layout at the specified width, preventing the browser from modifying the layout to "fit” the mobile screen. See this META tag reference at Microsoft for the tag’s interpretation in Windows Mobile 5.


<meta name="MobileOptimized" content="width" />

Some non-MS mobile browsers may also use the tag to force single-column layouts. Mobile browsers and mobile search engine spiders also use this META tag to identify mobile-optimized HTML.

The HandheldFriendly META Tag

The HandheldFriendly META tag was originally supported by AvantGo mobile browsers in Palm devices to identify mobile-optimized markup. Today, it is widely interpreted by mobile browsers and spiders as an indicator of mobile markup and a directive to display the web document without scaling. The value of the META tag is "true” for mobile markup and "false” for desktop-optimized HTML.


<meta name="HandheldFriendly" content="true" />

The Viewport META Tag

Many smartphone browsers scale Web pages to a wide viewport width, one appropriate for displaying desktop-optimized markup. These browsers allow the user to zoom in and out of scaled Web pages. For example, Opera Mobile uses a default viewport width of 850 pixels, and the iPhone uses a default width of 980 pixels.

The Viewport META tag controls the logical dimensions and scaling of the browser viewport window in many smartphone browsers, including Safari Mobile for the iPhone, Android browser, webOS browser in Palm Pre and Pixi devices, Opera Mini, Opera Mobile and BlackBerry browsers. The presence of the Viewport META tag indicates that the markup document is optimized for mobile devices.

Here is a simplified version of the Viewport tag that sets the browser viewport width at 240 pixels and disables user scaling of the content:


<meta name="viewport" content="width=240,user-scalable=no" />

The content value of the Viewport META tag is a comma-delimited list of directives and
their values.

This example <meta> tag lists all Viewport directives and example values:


<meta name="viewport" content="width=240, height=320, user-scalable=yes,
initial-scale=2.5, maximum-scale=5.0, minimum-scale=1.0" />

This table lists the meanings and values of all supported directives of the Viewport META tag.

Viewport META directive Example Value Description
width width=320
width=device-width
Logical width of the viewport, in pixels. The special device-width value indicates that the viewport height should be the screen width of the device.
height height=480
height=device-height
Logical height of the viewport, in pixels. The special device-height value indicates that the viewport height should be the screen height of the device.
user-scalable user-scalable=no Specifies whether the user can zoom in and out of the viewport, scaling the view of a Web page. Possible values are yes or no.
initial-scale initial-scale=2.0 Sets the initial scaling or zoom factor (or multiplier) used for viewing a Web page. A value of 1.0
displays an unscaled Web document.
maximum-scale maximum-scale=2.5 Sets the user’s maximum limit for scaling or zooming a Web page. Values are numeric and can range from 0.25 to 10.0. The value of this directives is a scaling factor or multiplier applied to the viewport contents.
minimum-scale minimum-scale=0.5 Sets the user’s minimum limit for scaling or zooming a Web page. Values are numeric and can range from 0.25 to 10.0. The value of this directives is a scaling factor or multiplier applied to the viewport contents.

For more details about the possible directives and values of the Viewport META tag, see the Supported Meta Tags section of the Safari HTML Reference.


Raksta avots : http://learnthemobileweb.com/2009/07/mobile-meta-tags/
  • 1
  • 2
  • 3
  • 4
  • 5
Skatīts : 3288 / Komentāri : 0 / Vērtējumi : 1 / Uzrakstīts : 11 Janvārī 2011 plkst. 10:17
Komentāru kopskaits: 0
Pievienot komentārus var tikai reģistrētie lietotāji.
[ Reģistrācija | Ieeja ]

Datuve.lv
Kopēšana pieļaujama norādot raksta avotu vai autoru. Norāde uz šo lapu obligāta.
Lapas ideja pieder tās autoram.
Oriģinālais dizains no Zoxy, Uzturēšanu nodrošina uCoz
Redizains un lokalizācija no Arnis Freimanis.