Posts Tagged ‘html’
11
Feb

Here I’ll demonstrate how to develop and deploy application for Symbian OS, using Aptana Studio. (Windows platform)

Download Aptana Studio and install it from,

http://aptana.com/products/studio2/download

Download Nokia WRT plug-in for Aptana Studio and install it from,

http://goo.gl/LxQye

After completing the above steps, start Aptana Studio

Select File >> New >> Project

Under Nokia Web Runtime (WRT), select New Nokia Web Runtime Widget and click Next.


More »

, , , , , , , , , , , , , , , , , , , , , , , ,

18
May

You can air sdk to compile an AIR application to show an HTML Page. Try the steps given below:

1. Create an HTML File with the following code and saved it as HelloWorld.html:

<html>

<head>

<title>Hello World</title>

</head>

<body>

<b>Hello World</b>

</body>

</html>

2. Created an xml file with the following code and save it as app.xml

<application xmlns=”http://ns.adobe.com/air/application/1.0″>

<id>test.html.HelloWorld</id>

<version>0.1</version>

<filename>HelloWorld</filename>

<initialWindow>

<content>HelloWorld.html</content>

<visible>true</visible>

<width>400</width>

<height>200</height>

</initialWindow>

</application>

3. Save these two files in a new directory. Here I have stored in D:\HelloWorld .

4. Then go to your flex folder using command prompt as shown in the figure given below and type the command:

5. You will get an output as the figure shown below:

Note: You should note the version of adl installed in your PC with the version given in your xml file.

That’s it. You have done!!!

, , , ,

03
Feb

The main difference between XHTML and HTML is that XHTML is very very strict!

No carelessness will be tolerated here.

All tags must be closed! Empty as well as non empty elements must be closed. For example:

<p>This is a paragraph</p>

<br /> break (Note: please don’t forget the space before the ‘/’ as it will create compatibility issues in certain cases!)

XHTML is a combination of HTML and the strict syntax of XML.

Main points to remember regarding XHTML are:

  1. All elements must be properly closed and nested
  2. All elements must be in lowercase
  3. All documents must have a root element
  4. DOCTYPE declaration, <head> and <body> sections must be specified.

Have a xhtml page ready and wondering if you have got everything right? Simply use the following validator…Easy!

http://validator.w3.org/

, , ,