magone Posted February 16, 2009 Report Share Posted February 16, 2009 Kā es varu webā tekstā uzrakstīt tagus <b> un </b>, tā lai ti nevis kalpotu, izceļot boldā, bet atrādītos kā teksts? Quote Link to comment Share on other sites More sharing options...
bubu Posted February 16, 2009 Report Share Posted February 16, 2009 Vienkārši neraksti tādus tagus, tad tev teksts nerādīsies boldā. Quote Link to comment Share on other sites More sharing options...
kechums Posted February 16, 2009 Report Share Posted February 16, 2009 < aizstājot ar < un > ar > Quote Link to comment Share on other sites More sharing options...
bubu Posted February 16, 2009 Report Share Posted February 16, 2009 Ah, sorry, es pāpratu vaicāto. Tagad, pēc kechums teiktā, sapratu, kas tika vaicāts. Quote Link to comment Share on other sites More sharing options...
koko Posted February 17, 2009 Report Share Posted February 17, 2009 Kā es varu webā tekstā uzrakstīt tagus <b> un </b>, tā lai ti nevis kalpotu, izceļot boldā, bet atrādītos kā teksts? Siten uz perfekta fona ar perfektiem burtiem ir tabuliņa, kurā parādīti īpašo simbolu aizstājēji. Quote Link to comment Share on other sites More sharing options...
cucumber Posted February 17, 2009 Report Share Posted February 17, 2009 http://lv.php.net/htmlspecialchars all you need Quote Link to comment Share on other sites More sharing options...
mefisto Posted February 17, 2009 Report Share Posted February 17, 2009 Man gan šitas labāk patīk : http://leftlogic.com/lounge/articles/entity-lookup/ Quote Link to comment Share on other sites More sharing options...
SZ88 Posted March 4, 2009 Report Share Posted March 4, 2009 Kā es varu webā tekstā uzrakstīt tagus <b> un </b>, tā lai ti nevis kalpotu, izceļot boldā, bet atrādītos kā teksts? <plaintext></plaintext> šim vajadzētu palīdzēt Tev :) Quote Link to comment Share on other sites More sharing options...
bubu Posted March 4, 2009 Report Share Posted March 4, 2009 Tāds plaintext tags ir novecojis un labāk tādu neizmantot. To pie tam nevar aizvērt, t.i. </plaintext> nemaz nedarbojas. Quote Link to comment Share on other sites More sharing options...
marcis Posted March 4, 2009 Report Share Posted March 4, 2009 xmp darbojas :) Quote Link to comment Share on other sites More sharing options...
mounkuls Posted March 4, 2009 Report Share Posted March 4, 2009 Nu vispār jau rakstija HTML,XHTML sadaļā un manuprāt kechums norādija korekti. HTML nebūs tādas htmlspecialchars() funkcijas. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.