<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//w3c//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>The title is Hello World!</title> </head> <body> <h2>This is a test</h2> <b>Hello world</b> </body> </html> |
This is a testHello world |
XML. You
need to have Java installedhtml or htm extensioncuteftp or SSH FTP to
transfer files to your PIC account<!DOCTYPE html PUBLIC "-//w3c// DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//w3c//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Write your title here</title> </head> <body> |
<h1>Hello</h1> |
<font size="+2" color="red">Help me!</font> |
<p>Here is a paragraph.</p> |
<br /> |
/>
indicates this.
<b>Don't <i>overemphasize</i></b> your text. |
<!-- and
-->. Comments may extend over multiple lines.
Example
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//w3c//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- This is a title --> <title>The title is Hello World!</title> </head> <body> <!-- comment line 1 comment line 2--> <h2>This is a test</h2> <!-- hellow world --> <b>Hello world</b> </body> </html> |
<?xml version="1.0" encoding="UTF-8"?><html> Tag<html>
tag must have the following format:<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head> tag
<title>
and <style><title> tag
<body> and
</body> tags is called the body content.bgcolor: background color.background: for background image (value is the URL
of the image).text: set the color of the text. Make sure to set
a color that contrasts well with the background color or image.link: color of hyperlinks the user has not yet
followed.vlink: links the user has followed at one time or
another.alink: color for active link text one that is
currently selected by the user and is under the mouse cursor with
the button depressed. Usually the same color as
vlink.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//w3c//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>A simple webpage</title> </head> <body bgcolor="yellow" text="blue"> <h2>This is a simple webpage</h2> The background color is yellow. The text is in green. </body> </html> |