List of HTML elements, the browser supports
<BODY>, <FORM>, <INPUT>, <!--; , <H1>, <H2>, <H3>, <BR>, <UL>, <LI>, <P>, <STRONG>, <B>, <A>, <PRE>, <CENTER>, <DIV>, <FONT>, <I>, <EM>, <&>, <META>, <IMG>
Other HTML elements will be ignored. HTML elements can be in upper/lower cases. If parameters are added such as IMG SRC url, make sure to use " " around the parameter.
Some elements will not give same display result as in a full web browser. They are added to make most pages look useful on the small screen. As an example H1 will not change the font size, but make a text bold.
Notice tables are not supported, as they uses a lot of CPU to process.
BODY
Can accept parameter BGCOLOR, example BGCOLOR="#FF3344"
FORM
Can accept parameters ACTION and METHOD. METHOD is either GET or POST.
Example:
<form action="http://www.myserver/demo_form_method.asp" method="GET">
INPUT
Can accept parameters NAME, SIZE, VALUE and TYPE. TYPE can be SUBMIT, TEXT or CHECKBOX.
Example:
<input name="fname" size="22" type="text" value="">
<input type=checkbox name=size value=lrg>Large
<input type=checkbox checked name=size value=sml>Small
<!--
normal html comments, which are ignored
H1 H2 H3 B STRONG
Makes the text bold.
BR P and DIV UL
will only make a new line
LI
makes a new line with a dot at the start
A
Can accept parameter HREF="url"
PRE
Used to display unformatted data
CENTER
Will center text
FONT
Can accept parameter COLOR, example COLOR="#FF3344"
I EM
Will make text with an Italic font
&
Use it for special characters, such as a space is
META
Can handle HTTP-EQUIV and CHARSET. HTTP-EQUIV can accept a refresh request.
It is also possible to store the Mocha Browser configuration in the META data.
IMG
Can accept parameter SRC , WIDTH and HEIGHT. WIDTH and HEIGHT can be in percent.
SRC can be an URL to an image file on the server, or if a faster display is needed, include the image data in the HTML file:
Example:
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAA....
Copyright (c) 1997-2023 MochaSoft Aps. All Rights Reserved. |