Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Apr 2007
    Messaggi
    27

    [Html] Inserire un testo senza che mi venga modificato..

    Vi spiego semplicemente...devo inserire un testo in una pagina html...ma non voglio ke html mi modifichi questo testo che vi inserisco...

    ovvero... il testo ke vorrei inserire è questo...

    codice:
    The following program makes the current number of processes running on the LVM available
    to any GClientInt object on a remote peer.
    
    <pre>
    #include <CServerInt.h>
    #include <GProcInfo.h>
    
    CServerInt(out 1);
    CServerInt(1).value(out v) {
        GProcInfo.getProcCount(v);
    }
    </pre>
    
    A remote peer can monitor the number of processes of a host machine running the program above
    as follows. We assume that the machine running the server is "www.dis.uniroma1.it":
    
    <pre>
    #include <CClientInt.h>
    #include <GWindow.h>
    #include <GCaption.h>
    #include <KProc.h>
    #include <KString.h>
    
    CClientInt(out 1);
    CClientInt(1).host(out i1* "www.dis.uniroma1.it");
    
    GWindow(out 1);
    GWindow(1).closeEvent() { KProc_Quit(); }
    GWindow(1).title(out i1* "Number of processes on www.dis.uniroma1.it");
    
    GCaption(out 1);
    GCaption(1).window(out GWindow(1));
    GCaption(1).title(out i1* t) {
        ui4 num;
        if (!CClientInt(1).getValue(num)) fail;
        t = KString_Format("%d", num);
    }
    </pre>
    ma quello che vedo è quest'altro


    codice:
    The following program makes the current number of processes running on the LVM  available to any GClientInt object on a remote peer.  
    #include 
     
    #include 
     
    CServerInt(out 
    1); 
    CServerInt(1).value(out 
    v) 
    { 
    GProcInfo.getProcCount(v); 
    } 
    A remote peer can monitor the number of processes of a host machine  running the program above as follows. We assume that the machine running the  server is "www.dis.uniroma1.it":  
    #include 
     
    #include 
     
    #include 
     
    #include 
     
    #include 
     
    CClientInt(out 
    1); 
    CClientInt(1).host(out 
    i1* 
    "www.dis.uniroma1.it"); 
    GWindow(out 
    1); 
    GWindow(1).closeEvent() 
    { 
    KProc_Quit(); 
    } 
    GWindow(1).title(out 
    i1* 
    "Number 
    of 
    processes 
    on 
    www.dis.uniroma1.it"); 
    GCaption(out 
    1); 
    GCaption(1).window(out 
    GWindow(1)); 
    GCaption(1).title(out 
    i1* 
    t) 
    { 
    ui4 
    num; 
    if 
    (!CClientInt(1).getValue(num)) 
    fail; 
    t 
    = 
    KString_Format("%d", 
    num); 
    }
    come vedete le parole formate da <qualcosa> mi vengono tolte...c'è un modo qualke tag da inserire ad inizio del testo che faccia si ke questo nn mi venga modificato???

    ad esempio in xml uso il tag CDATA[[..e tutto quello qui dentro nn mi viene modifcato...

    c'è qualkosa di simile in html...grazie

  2. #2
    Semplicemente, rimpiazza i simboli < e > con le loro rispettive html entities:

    Codice PHP:
    &lt;
    &
    gt
    Ciao

  3. #3
    Scusa ma l'(x)html dov'è?
    Cosa vuoi sapere?
    Fantasupermegafavolipermeramagicultra irresistibili
    4 10 30 100 1001 personaggi insuperabili fantaincredibili ultraimpossibili iperterribili irresistibili!!!

    "... a quell'età ... bastava un dito per fare la pace ..."
    fotine

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.