0% found this document useful (0 votes)
0 views11 pages

Unit 2

The document provides an introduction to HTML, detailing its structure, including the root element, head, and body. It explains how to display a webpage in a browser, the use of preformatted text, and various text formatting techniques such as superscript, subscript, and monospace fonts. Additionally, it covers the <blockquote> element for quoting text from other sources.

Uploaded by

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

Unit 2

The document provides an introduction to HTML, detailing its structure, including the root element, head, and body. It explains how to display a webpage in a browser, the use of preformatted text, and various text formatting techniques such as superscript, subscript, and monospace fonts. Additionally, it covers the <blockquote> element for quoting text from other sources.

Uploaded by

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

WEB TECHNOLOGY

CLASS:III B.COM CA-B


PREPARED BY R.SABITHA
INTRODUCTION TO HTML

HTML is the universal markup


language for the Web. HTML lets you
format text, add graphics, create links,
input forms, frames and tables, etc.,
and save it all in a text file that any
browser can read and display.
STRUCTURE OF HTML

An HTML document has a specific structure


that includes a root element, head, and body.
The <!DOCTYPE html> declaration
specifies the HTML version, while
the <html> element contains the entire
document.
The <head> section holds metadata like the
title and links to external resources, while
the <body> contains the visible content of the
webpage.
DISPLAY A WEBPAGE IN A WEB BROWSER

To display a web page in a web


browser, you need to enter the page's
URL (Uniform Resource Locator) into
the browser's address bar and press
Enter. The browser then retrieves the
page from the web server and renders it
for you to view.
PRE-FORMAT TEXT

Preformatted text is text that


preserves spaces and line breaks as
they are written in the source code,
unlike regular text which collapses
multiple spaces and line breaks into
a single space. It is typically
displayed using a fixed-width
font. In HTML, the <pre> tag is
used to define preformatted text.
FORMAT TEXT

Text formatting in web technology refers


to techniques for visually enhancing text
on a webpage, including elements like
font styles, sizes, colors, and alignment, to
improve readability and aesthetics. This is
achieved through HTML tags and CSS
styles.
SUPERSCRIPT

Superscript in web technology,


specifically in HTML, refers to text
that is displayed slightly above the
normal line of text and is usually
rendered in a smaller font size. It's
achieved using the <sup> tag. This
formatting is commonly used for
footnotes, mathematical exponents,
trademarks, and ordinal numbers.
SUBSCRIPT

In HTML, the <sub> tag is


used to define subscript text,
which appears slightly below
the normal line of text and is
typically rendered in a smaller
font size. It's commonly used
for mathematical expressions,
chemical formulas, and
footnotes.
MONO SPACED FONT

To use a monospace font in


HTML, you can utilize
the <pre>, <code>, or <tt> tags, or
apply the font-family:
monospace; CSS property to
specific elements. Monospace
fonts are characterized by all
characters having the same width,
making them suitable for
displaying code or tabular data.
BLOCK QUOTE
web technology, a <blockquote>
element is used to indicate a section
of text that has been quoted from
another source. It's a semantic HTML
element, meaning it provides
meaning to the content it contains,
rather than just styling it. Browsers
typically render blockquotes with an
indentation to visually separate them
from the surrounding text.

You might also like