Posts

Basic Elements - Learn HTML - Free Interactive HTML Tutorial

Image
Basic Elements The use of basic HTML Tags.. Coding.... <!DOCTYPE html> <html> <head> <title>Example page</title> </head> <body> <h1>Heading 1</h1> <h2>Heading 1</h2> <h3>Heading 1</h3> <h4>Heading 1</h4> <h5>Heading 1</h5> <h6>Heading 1</h6> <p>This is peragraph.</p> <p>Horizontal Line Below</p> <hr /> </body> </html> Output Of Above Code... Output

HTML Declaration

Image
HTML  <!DOCTYPE>  Declaration What is DOCTYPE..? Doctype is not a HTML Tag. It Describe the version of HTML document page. Use Of DOCTYPE.... <!DOCTYPE html> <html> <head> <title>doctype</title> </head> <font size=22> <body bgcolor="green"> The text of the document </body> </html> Output Of Above Code..

HTML comment Tag

What is Comments? Use of comments tags in html codes. Comments are use to describe about code that is write for page.This text ignored by web browser and can not displayed in output screen. You can use comments to explain your code, which can help you when you edit the source code at a later date. This is especially useful if you have a lot of code. How Add HTML comments in page... Coding <HTML> <Head><Title>Example of Comment</Title></Head> <Body bgcolor=green> <!--This is a comment. Comments are not displayed in the browser--> < p > This is a paragraph. < /p > </body> </HTML> Tips and Notes You can also use the comment tag to "hide" scripts from browsers without support for scripts (so they don't show them as plain text): Coding < script  type ="text/javascript" > <!-- function displayMsg() {   alert("Hello World!") } //--> < /script >

HTML Character Sets

HTML  Character Sets: Number ASCII ANSI 8859-1 UTF-8 Description 32 space 33 ! ! ! ! exclamation mark 34 " " " " quotation mark 35 # # # # number sign 36 $ $ $ $ dollar sign 37 % % % % percent sign 38 & & & & ampersand 39 ' ' ' ' apostrophe 40 ( ( ( ( left parenthesis 41 ) ) ) ) right parenthesis 42 * * * * asterisk 43 + + + + plus sign 44 , , , , comma 45 - - - - hyphen-minus 46 . . . . full stop 47 / / / / solidus 48 0 0 0 0 digit zero 49 1 1 1 1 digit one 50 2 2 2 2 digit two 51 3 3 3 3 digit three 52 4 4 4 4 digit four 53 5 5 5 5 digit five 54 6 6 6 6 digit six 55 7 7 7 7 digit seven 56 8 8 8 8 digit eight 57 9 9 9 9 digit nine 58 : : : : colon 59 ; ; ; ; semicolon 60 < < < < less-than sign 61 = = = = equals sign 62 > > > > greater-than sign 63 ? ? ? ? question mark 64 @ @ @ @ commercial at 65 A A A A Latin capital letter A 66 B B B B Latin capital letter B 67 C C C C