




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
HyperText Markup Language
Typology: Study notes
1 / 8
This page cannot be seen from the preview
Don't miss anything!
HTML ---- Hyper Text Markup Language
HTML - Plain Text Document ...can be created using any text editor
WYSIWYG - What You See Is What You Get
right and left angle bracket are used to enclose a tag...there are two classes of tags
tags are case insensitive tags may be nested u can add as many spaces as you want...browsers ignore all extra spaces
some tags can have additional attributes... browser ignore wrong tags ...it doesn't recognize them...
comments are included as shown : <!--- Comment ---> and comments cannot be nested...
HTML Document consosts of two major portions :
Structure of a HTML Document :
(opening and closing of html tag is optional for most of browsers)
Structural HTML Tags :
head tag :
Three things can be nested under head
body tag :
... actual displayable information will be set under this tagAttributes :
background = url
bgcolor = color -- sets background colour of the documenty...
text = color -- sets the default color for the normal text for the document...
alink = color -- sets the color of active links
vlink = color -- sets the color for the visited link
link = color -- sets the color for all the links in the document
How To Specify Colors : 2 ways
Text Formatting in HTML :
heading tag -
paragraph tag -
...used to separate texts into paragraph...
is optionl...attributeLine Break :
...line following BR should start from the next line
Nesting Of LISTS :
When Unnumbered lists are nested browser uses different symbols defaultly for each level
When numbered/ordered lists are nested every level is numbered with arabic numerals [1,2,3,4] by default
SPECIFYING HYPERLINKS : Specified using the anchor tag ..... --require an attribute called 'HREF' which specifeis the path of the resource to be linked
Examples : Portrait Mail Me -- if mailto is specified in url...then directly a window will get opened to write a mail for the specified address
There are 2 different ways in which u can give the path of the resource in the 'href' attribute
1.Relative URL : commonly used when referring to documents on the same web site or web server examples : Sania Score ['..' means 1 level up]
2.Absolute URL : complete path name is specified...necessary when linking to documents from other servers or website
Linking To Specific Sections :
1.Within the same document : 2 steps
Step 1 : define a named section in a document
Step 2 : Provide a link to the named section
Inline Images :
IMAGES : tag -
Attributes -- SRC - specifies the url or path of the image HEIGHT - WIDTH -
HTML Tables : Tables are made up of cells made up of rows
TAGS :