
HTML- Hypertext Markup language is used to create documents that can be accessed our the HTML was originally developed In 1980, physicist Tim Berners-Lee, who was a contractor at CERN, and popularized by mosaic browser developed NESA. the www uses the hypertext & Hypermedia. in a hypertext Environment , information is shared in a set of documents. Hypermedia documents can contain pictures, graphics& the sound A unit of hypertext& Hypermedia available on the web is called a Page HTML is a not a case sensitive language Html uses tages. Tages uses property or attribute
TAG - It is a piece of text that is used to identify an element so that the browser realizes How to display it contents. Tags are always written within angle braces < > and end with </> .
For Example :-Opening tag - <html>
Closing tag - </html>
ATTRIBUTE - A <tag> tells the browser to do something whereas the attribute goes inside the <tag> & tells the browser how to do it . Attribute is the property of an html tag. that is specified in the opening angle brackets.
For Example - colors, height,width etc.
How To create an Html Documents
Firstly open notepad & write HTML code in a file. An HTML document should Include Structure Tag Which Have Mainly Five Tags
1. <!DOCTYPE> :- This tag should be the first tag in every HTML Document this tag tells the browser The HTML version with which the document Compiles Most browser ignore this tag while passing this code
2. <HTML> :- This tag is optional & even if it is not included , Most Browser assumeits Existence . But it is good practice to include this tag.As some browsers may be confused while handling a document without this tag & may not display the page at all . All rge other tag are included in this tag
For Example :- <HTML>
</HTML>
3. <HEAD> :- This tag Contain Information about the document , including its title, Scripts used style definitions & documents descriptions.
For Example :- <HTML><HEAD>
</HEAD>
</HTML>
4. <TITLE> :- this tag gives an HTML document a title by which it is Known to browser & Indexing . The Title does not appear within the browser windo since it is visible in the browser title bar.
For Example :- <HTML>
5. <BODY> ;- this tag uses all tags attributes & information that one wants the browser to display to use <BODY> tag enter it below </HEAD> tag & above the closing </HTML> tag
<HEAD>
<TITLE> HELLO welcome to www.techyfreaks.com</TITLE> </HEAD><BODY>
YOU CAN WRITE WHAT YOU WANT TO DISPLAY HERE LIKE HI THIS IS MY BLOG www.techyfreaks.com
</BODY>DO Comment If YOU face any problem
</HTML>
0 comments:
Post a Comment