after you figure how much code mem your program needs, use the asm and 'org' functions to start putting your html (see code) at locations past that. You can use a blocks scheme like A000, B000 etc which are 4Kbytes blocks for example. The "hlpMPASMAsm.chm" help file in the mpasm folder explains this and other info about MPASM assembler. Place the org stuff at the end of all basic code because basic will continue to compile in mem in linear fashion. The text needs to be in quotes which brings up some other issues when you need carriage return or line feed etc. the 'db' is data byte also explained in help file. And if I misstated about compiling, all this gets Built to program as usual.

Code:
AX = AX + 1                         
endif
@ INT_RETURN  
  
END

''==============TABLES============= ''!!! ADD 0,0,0 TO END  
ASM                                            
tbl1   org 0xA400  
        db "HTTP/1.0 200 OK",13,"Content-Length: 800 ",13,13
        db "<html>",13,"<h1> PIC 18F...TT Server v1.0</h1>",13,"<input type=",34,"text",34," id=",34,"txt",34,">"
        db "<script type=",34,"text/javascript",34,">" ,13," var c=0;var t;var timer_is_on=0; "
        db "function timedCount(){document.getElementById('txt').value=c;c=c+1; "
        db "t=setTimeout(",34,"timedCount()",34,",1000);}function doTimer(){if (!timer_is_on){timer_is_on=1;timedCount();}} "
        db "</script><form method=",34,"get",34,">Project name: <input type=",34,"text",34," name=",34,"PIC",34," value=",34,"PIC18F2525 ",34," />"
        db "<br>select one: <select><option>Amps</option> "
        db "<option>Volts</option><option>Frequency</option> </select>"
        db "<input type=",34,"submit",34," value=",34,"Submit",34," /></form> "
        db "<body onLoad=",34,"doTimer()",34,"><p><b>Note: TEXT HERE </b><br><script type=",34,"text/vbscript",34,">"
        db "document.write(NOW & ",34," Hello World!",34,")</script><br></body></p> </html> "
        db "<style type=",34,"text/css",34,">body{background-color:#d0e4fe;}h1{color:red;} style> "  
        db "<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR> ",0,0,0
        db "<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR> ",0,0,0
        
         
  db  32,32,32,69,110,116,101,114,32,111,114,32,112,97,115,116,101,32,116,101
  db  120,116,32,116,111,32,98,101,32,99,111,110,118,101,114,116,101,100,32,104
  db  101,114,101,46,46,46,46,46,46,46,46,46,46,46,46,46,46,0,0
        
ENDASM
'''---------------------------------------------------------------