0% found this document useful (0 votes)
77 views

Lab 8 HTML Manual

HTML is the standard markup language used to create web pages. It uses elements represented by tags to describe the structure of pages. Tags like <p> for paragraphs and <h1> for headings are used to label different pieces of content and how they should be displayed in browsers. HTML stands for Hypertext Markup Language.

Uploaded by

Misbah Ullah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views

Lab 8 HTML Manual

HTML is the standard markup language used to create web pages. It uses elements represented by tags to describe the structure of pages. Tags like <p> for paragraphs and <h1> for headings are used to label different pieces of content and how they should be displayed in browsers. HTML stands for Hypertext Markup Language.

Uploaded by

Misbah Ullah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

What is HTML?

HTML is the standard markup language for creating Web pages.

 HTML stands for Hyper Text Markup Language

 HTML describes the structure of Web pages using markup

 HTML elements are the building blocks of HTML pages

 HTML elements are represented by tags

 HTML tags label pieces of content such as "heading", "paragraph", "table", and so on

 Browsers do not display the HTML tags, but use them to render the content of the page

Begin Tag End Tag Summary

<p> </p> Separates two blocks of text by denoting a


paragraph break. To justify a paragraph,
use ALIGN="left, right, justify, or indent"
inside the tag.

<b> </b> Changes text between tags to a bold font

<strong> </strong> Logically strengthens the text between the


tags

<i> </i> Changes text between tags to an italic font

<u> </u> Underlines text between the tags

<ul> </ul> Defines an unordered list consisting of one


or more <LI> elements

<ol> </ol> Defines an ordered list in which each of


one or more <LI> elements are automatically
numbered

<li> </li> Defines a list item.

<hr> </hr> Produces a divider between sections of text

<table> </table> Defines a series of rows and columns to


format the placement of text and images
on the page
<tr> </tr> Defines a row of a table.

<td> </td> Defines a data cell. The data cell contains


the actual text or image that is to be
displayed in a table cell

<center> </center> Centers the text vertically between the


left and right margins

<A> </A> Defines text as a hypertext link. The A


element must have either the HREF or NAME
attribute defined inside it.
<A HREF="http://url here/">Text to display</A>
<A NAME="destination tag">Text to display</A>

<BQ> </BQ> Defines a separated multi-line set of text to be


rendered as quoted text.

<img src="..."> Specifies an image file that is to be


displayed. The '...' must be replaced
with the path and filename of the image.
Additional parameters include:
ALIGN="alignment option for image"
ALT="description of image"
WIDTH="width of image"
HEIGHT="height of image"
BORDER="value to specify width of border
0 indicates no border"

<blink> </blink> Causes the text between the tags to blink.


This tag is rarely considered professional
by web developers and therefore should be
used very sparingly
Walkthrough Task

 The <!DOCTYPE html> declaration defines this document to be HTML5

 The <html> element is the root element of an HTML page

 The <head> element contains meta information about the document

 The <title> element specifies a title for the document

 The <body> element contains the visible page content

 The <h1> element defines a large heading

 The <p> element defines a paragraph

You might also like