0% found this document useful (0 votes)
10 views17 pages

Creating HTML Web Pages: A Guide

Uploaded by

Abhishek Mohan
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)
10 views17 pages

Creating HTML Web Pages: A Guide

Uploaded by

Abhishek Mohan
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

EXPERIMENT-1

1) Introduction to HTML
a) History of HTML
b) Features of HTML
c) Versions of HTML
d) How to create an html web page explain this with the help of
example

Introduction to HTML
HTML stands for Hypertext Markup Language. It is the most basic language, and simple to
learn and modify. It is a combination of both hypertext and markup language. It contains the
elements that can change/develop a web page’s look and the displayed contents. Or we can
say that HTML creates or defines the structure of web pages. We can create websites using
HTML which can be viewed on internet-connected devices like laptops, android mobile
phones, etc.

History of HTML
Once the initial version of HTML was out, then there were many updates. But the most
popular version of it was HTML4.01 which became the standard markup language in 1999.
Another crucial version, XHTML. It was the XML format of HTML; the XML language has been
used in creating many markup languages. The RSS and MathML are a few examples of
markup languages that are written using XML language. The XHTML language became a
standard markup language in 2000, and it got updated again in 2002. earlier, most of web
pages and applications used to be developed using HTML 4.01 or XHTML 1.0. However, in
recent years HTML5 has become the standard markup language for defining the various
attributes for web pages.

Features of HTML
HTML has covered a long journey from a simple concept of file sharing to defining web
elements. It has become a crucial thing to learn and use while building web pages and
applications. Currently, HTML5 is the latest version that is supported by most browsers. And
in the future, we can see an updated version of HTML5 again by W3C with additional
features. Hence, the use of HTML will continue, and developers will use it a lot to define
their website and its pages inaccurately.
Versions of HTML
HTML is a very evolving markup language and has evolved with various versions updating.
Long before its revised standards and specifications are carried in, each version has allowed
its user to create web pages in a much easier and prettier way and make sites very efficient.
HTML 1.0 was released in 1993 with the intention of sharing information that can be
readable and accessible via web browsers. But not many of the developers were involved in
creating websites. So the language was also not growing.
Then comes HTML 2.0, published in 1995, which contains all the features of HTML 1.0 along
with a few additional features, which remained the standard markup language for designing
and creating websites until January 1997 and refined various core features of HTML.
Then comes HTML 3.0, where Dave Raggett introduced a fresh paper or draft on HTML. It
included improved new features of HTML, giving more powerful characteristics for
webmasters in designing web pages. But these powerful features of the new HTML slowed
down the browser in applying further improvements.
Then comes HTML 4.01, which is widely used and was a successful version of HTML before
HTML 5.0, which is currently released and used worldwide. HTML 5 can be said for an
extended version of HTML 4.01, which was published in the year 2012.
Steps to create an HTML web page with the help of an example
To create an HTML document follow the following steps:
Step 1: Open your text editor such as Notepad Sublime text, etc.
Step 2: Write the code given below in the text editor.

Step 3: Save this file with the .html extension.


Step 4: Open that file with any browser. The output will be displayed.
EXPERIMENT-2

Q2. Create a HTML file for displaying a webpage with following Tags. The file should
contain a brief description about all these tags:
a) Bold
b) Italics
c) Underline
d) Alignment
e) Paragraph
f) Text colour
g) Headings
h) HR
i) Background color
j) Line break
k) Pre
EXPERIMENT-3

Q3 Design a Web Page of your CV with headings as Objective,


educational qualification, achievements, strengths, hobbies and personal
details.
Apply following specifications:
● Insert a horizontal line after every above mentioned heading (Eg.
Insert horizontal line once objectives are complete).
● Set any light color as page background.
● Bold and underline every heading.
● Insert your image on left side of web page.
● Use heading tag to specify the headings.
● After every heading is over put a horizontal line.
● Use pre tag for Educational Qualification.
● Use Base font tag for all the text.
EXPERIMENT-4

Q4. Write a HTML. code to print the following lines in same manners:

In Mathematics, a quadratic equation is a polynomial equation of the second degree.


The general form is ax2+bx+c=0
Where !=0 (For if a-0, the equation becomes a linear exquation)

"CHEMICAL EQUATION”
4H3PO3=3H3PO4+PH3
and other expression as
Pnew= Pold+ X2 -YacosX
EXPERIMENT-5
Q. Create a nested list as follows
Computer System
1. Input Devices
i. Keyboard
ii. Mouse
iii. Joystick
iv. Scanner
1) Flat Bed Scanner
2) Hand held Scanner
2. Output Devices
i. Monitor
a) LCD
b) CRT
ii. Printer
a) Impact Printer
b) Non Impact Printer

Apply following parts


Insert an image of computer on top tight coner of web page
Display a marquee displaying "Input and Output Devices"
Use different font styles and colors for Input and Output Devices
Insert horontal line after Input Devices are over
Use bold, italics and underline in headings
EXPERIMENT-6

Q. Create a HTML webpage which display the following list.

FRUITS & VEGETABLES


A Vegetables
 Onion
 Tomato
 Radish
 Potato
 Carrot
B Fruits
 Apple
 Banana
 Water-Melon
 Mango
 Grapes

Newspaper & Magazine


o Newspaper
5 The Times of India
6 Hindustan Times
7 Navbharat Times
8 Punjab Kesari
9 Dainik Jagran
o Magazine
i. Business Times
ii. The Week
iii. India Today
iv. Harvard Business Review
v. Computer World

Apply following parts:


Put horizontal line after newspaper and magazine Apply heading tag for newspaper and magazine
Apply a background color
EXPERIMENT- 7

Q. Create the following table

Common questions

Powered by AI

Background color and text color play a crucial role in improving a webpage's usability by influencing readability and visual appeal. They can be implemented in HTML using the 'style' attribute or through CSS. For instance, <body style="background-color:lightgrey"> sets the page background, while <p style="color:blue"> applies color to text . These properties help in creating visual contrasts, emphasizing important content, and maintaining user engagement. By carefully selecting color combinations and adhering to accessibility standards, designers can enhance the overall user experience on a webpage .

HTML defines the structure of web pages by using a series of elements and tags that dictate how content is displayed on different devices . Key features that have evolved include enhanced graphics support, more dynamic content capabilities, and the ability for more interactive and multimedia elements. For instance, HTML 2.0 added new elements like forms, which became a standard for web design until 1997 . HTML 3.0 introduced more refined features, but HTML 4.01 became the most widely used version due to its balance of features and browser compatibility. HTML5, the current standard, includes multimedia enhancements and improved semantic elements, making it suitable for modern web applications .

HTML enables the creation of interactive components through the use of form elements like <form>, <input>, <button>, and <select>, which collect user data and make web pages dynamic . These elements are crucial for functionalities such as login pages, surveys, and online checkouts. The interactivity provided by these elements enhances user engagement by allowing interactions with the webpage beyond passive consumption of content . This engagement is further boosted when forms are integrated with client-side validation and scripting, facilitating immediate feedback and improving user experience. Interactive components make websites more functional and effective at capturing user input .

The evolution of HTML versions has significantly affected web development by enabling more complex and accessible web content. Early versions like HTML 1.0 were limited to basic text and image formatting, which restricted interactivity and design complexity . HTML 2.0 introduced form elements, which facilitated user input handling. HTML 3.0 expanded web design capabilities but faced performance issues. HTML 4.01 improved stability and cross-browser support, establishing it as a long-lasting standard . The advent of HTML5 has revolutionized web content by introducing elements for multimedia, scalability, and mobile responsiveness, crucial for modern web development and accessibility .

To create a basic HTML web page, follow these steps: 1) Open a text editor such as Notepad; 2) Write HTML code; 3) Save the file with a '.html' extension; 4) Open the file with a web browser to display the output . These steps exemplify HTML's principle of simplicity, as it uses straightforward markup to define elements. HTML code consists of a series of tags that organize content in a manner that's easily interpretable by browsers, allowing even basic text editors to be used for web development .

HTML5 ensures compatibility with modern browsers and user interfaces by incorporating a wide range of new elements and APIs designed for multimedia, graphics, and interactivity. It supports video and audio elements natively, allowing for multimedia without additional plugins . HTML5 also includes semantic elements like <article>, <section>, and <nav>, which improve the organization and accessibility of web content. Moreover, HTML5 employs backward compatibility with older HTML versions, allowing legacy content to function alongside modern enhancements . This balance enhances user experience across different devices and platforms.

When designing a CV web page using HTML, consider the visual hierarchy, readability, and accessibility. Use semantic tags like <h1> to <h6> for headings to improve accessibility tools' navigation capabilities . Incorporate styling for text emphasis on headings using the <b> and <u> tags. Use <hr> for visual separation between sections such as 'Objective' and 'Achievements'. Ensure all text is semantically meaningful and that the page is responsive to various devices. Use <img> with alt attributes for images to support screen readers . Additionally, employ a consistent color scheme and simple navigation to facilitate user experience. These considerations help create an inclusive and professional digital CV presentation .

HTML uses specific tags for text formatting and alignment. To format text, it uses tags like <b> for bold, <i> for italics, <u> for underline, and <p> for paragraphs. To align content, it uses attributes like 'align', although modern HTML5 practices recommend using CSS for styling. Furthermore, the <hr> tag is used to insert horizontal lines to separate content, and the <br> tag for line breaks . These features enable designers to control the presentation of text and layout within a web page effectively.

The <pre> tag in HTML is used for displaying preformatted text, where whitespace and line breaks are preserved as written in the code. This is useful for displaying code snippets, structured content like poems, or tabulated data without additional formatting . By maintaining the text's layout, it enhances readability and presentation, especially for technical and educational content. The <pre> tag is beneficial when text must be presented in a specific format, encouraging the clear conveyance of complex information directly within a web page .

Nested lists in HTML are structured using a combination of unordered (<ul>) and ordered lists (<ol>), allowing lists to be layered within each other. For example, in a list of computer components, primary categories like 'Input Devices' can be <li> items within a <ul>, while subcategories like 'Keyboard' under 'Input Devices' can be additional nested <ul>s within the parent list items . This hierarchical structure organizes complex information more clearly, making it easier to navigate and understand relationships between items. Nested lists are especially useful for displaying structured data on webpages efficiently .

You might also like