HTML

  • an HTML document begins with <htlm> and ends with </html>— these tags are non-visual

  • the <title> tag defines the title of the document

  • the<title> is a required tag for all HTLM document

  • the <body> tag defines the documents main text and contains any headings, paragraphs, images, hyperlinks, tables and lists

  • there can only be one <body> tag in the HTML document

  • the <h*> tags are used to define headings in order of importance and therefore size

  • the <p> tag defines a paragraph

  • the <img> tag is used to embed an image in an HTML document

  • the images are not inserted into a web page rather linked to web pages. the <img> tag creates a holding space for the referenced image

the <img> tag requires two attributes

  • src: specific file path of the image

  • alt: specific alternate text for the image in the event it cannot be displayed for some reason

  • The <a> tag defines a hyperlink, which is used to link one page to another

  • the most important attribute to <a> is the HREF, which indicates the link’s destinations

  • the <ol> tag defines an ordered list.

  • the <li> tag is used to defines each list item

  • the <ul> tag is defines an unordered list (bulleted)