Docsity

Html full notes for beginners, Study notes of English

Partial preview of the text

Download Html full notes for beginners and more Study notes English in PDF only on Docsity!

| HTML - Hyper Text Markup Language | Whatis HTML? HTML is a language for describing web dacuments (Web Pages). + HTML stands for Hyper Text Markup Language Hyper Text means more than text that means it not only use the text to explain the contents it also uses Audio, Video, Images and Graphics etc. | * HTML is not a programming language, itis a markup language. Markup Languages are designed for the processing, definition and presentation of text The language specifies code for formatting, both the layout and style, within the text file. The code used to specify the formatting is called tags. Examples-of markup language are HTML, XHTML - Extensible Hypertext Markup Language and SGML - Standard Generalized Markup Language. . | * Amarkup language is a set of markup tags. HTML Markup Tags are called HTML Tags. These lags are of two types: | * Empty Tags » Those tags which have the starting tag but no closing tag and do not contain | anything. These tags are closed using forward slash with tag. | Syntax: * Container Tags » Those tags which have opening and closing tags and they can contain text images, audio and video ete. It has start tag and end tag with forward slash Syntax: Contents + The purpose of the tags is to describe page content. It is case insensitive language. HTML t ags also contain the attributes, These attributes are used to apply the formatting on web page contents, HTML is developed by Tim Burner Lee. Page 2 of 61 HTML Element:

This is a paragraph.

HTML Documents = Web Pages + HTML documents describe web pages + HTML documents contain HTML tags and plain text + HTML documents are also called web pages HTML Page Structure HTML Page starts with and ends with which defines a single web page. Web page has two sections head and body which define head and hadu enatine -c-- h6> tags. These tags also have some attributes like title d align defines ‘we move cursor on heading or any tag an ! align of heading is left. H1 is biggest i n size and H6 is Note: Browsers automatically add some empty space (a margin) before and after each heading. - Headings Are Important Use HTML headings for headings only. Don't use headings to make text BIG or bold. Search engines use your headings to index the structure and content of your web pages. ' Since users may skim your pages by its headings, it is important to use headings to show sg document structure. H1 headings should he used as main headings fallawed hy H? haadinae than tha lean to i “ Example: My First Page I1 am Bold Tag l am Italic Tag ! am Underline Tag I am Strong Tag ! am Strike Tag H20 10th ph tag Used to Create Paragraph. You h Tag, In HTML Paragra| te a paragraph. It will arrange all the lines as paragraph by id that barn we creas 2 pm This i otis pararapts Tals ia Pre Tag maa in Pee Teas Thin te Pre Tag. be Tas ap Pre Taq. Thts 49 Pre Tap. — EU rege L+ © at Me//CSUVENIS.M.Rehaan/Desktop/deme.htmi Marquee Tag This tag is used to move the text, images or the contents On to scre¢ animations. ynitax: ee rl ee om VLUETS right, up and down, 3) Width: Defines width of marquee. 4) Height: Defines height of marquee. 5) Vspace: It gives the Spaces from vertically from both the directions left and right. 6) Hspace: It gives the spaces from horizontally from both the directions top and bottom, 7) Scrollamount: It defines how much pixels are jumped by a marquee. } 8) Scrolldelay: It defines delay time in jumps of marquee, } 9) Loop : The number of times that the text will scroll. 10)Bgcolor: for Background color, Note: hspace, vspace, height and width can be defined with px or %, HTML Images HTML images are defined with the tag. Example Note: The filename and the size of the image are provided as attributes HTML Images - The Tag and the Src Attribute In HTML, images are defined with the tag, The tag is empty, which means that it contains attributes only, and has no closing tag. : To display an image on a page, you need to use the src attribute. Sre stands for "source", The vali!” the sre attribute is the URL of the image you want to display. syntax for defining an image; 61 Page ” . nc mci enineeitccemeenssen” | Note: When a web page is loaded, it | # web server and inserts it into the ) HTML links are defined Example : d, group of words, or image that you can click on to jump to a new the current document. ver a link ina Web page, the arrow will turn into a little hand. 3 the tap. using the href attribute using the name attribute