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

Unit 2 HTML - Merged

Good

Uploaded by

mamtamanral57
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Unit 2 HTML - Merged

Good

Uploaded by

mamtamanral57
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

COMPUTER

Unit -2

HTML
Code - 165
Best Handwritten Notes

CLASS – 10
MADE BY
PRINCY EDUCATION
PRINCY EDUCATION
YouTube Channel
Princy Education YouTube Channel Best Handwritten Notes

Unit 2: HTML

HTML (Hypertext Markup Language) is a markup language used to


create web pages. HTML consists of tags that define the structure and
content of a web page.

Creating an HTML document

To create an HTML document, you can use a text editor such as


Notepad or Sublime Text. Save the file with the extension ".html". You
can then open the HTML file using a web browser.

HTML tags

Princy Education YouTube Channel Best Handwritten Notes


Princy Education YouTube Channel Best Handwritten Notes

• HTML : The root tag that defines an HTML document.

• HEAD : The section that contains meta information about the


HTML document.

• TITLE : The title of the web page, displayed in the browser's


title bar.

• BODY : The section that contains the visible content of the


web page.

• BR : Inserts a line break.

• HR : Inserts a horizontal rule.

• H1..H6 : Heading tags that define headings of different sizes.

• P : Defines a paragraph of text.

• B : Bold text.

• I : Italic text.
• U : Underlined text.

• UL : Unordered list, with list items defined using the li tag.

• OL : Ordered list, with list items defined using the li tag.

• DL : Description list, with terms defined using the dt tag


and descriptions defined using the dd tag.

• FONT : Defines font properties such as face, size, and colour.

• IMG : Inserts an image, with attributes such as src, width,


height, and alt.

Princy Education YouTube Channel Best Handwritten Notes


Princy Education YouTube Channel Best Handwritten Notes

• SUP : Inserts superscript text.

• SUB : Inserts subscript text.

HTML Forms

• Textbox

Allows users to input text.

• Radio buttons

Allows users to select one option from a group of options.

• Checkbox

Allows users to select multiple options.

• Password

Allows users to input a password.

• List

Princy Education YouTube Channel Best Handwritten Notes


Princy Education YouTube Channel Best Handwritten Notes

Displays a list of options for users to select from.

• Combobox

Displays a list of options and allows users to input their own


option.

Embedding audio and video

You can embed audio and video files in an HTML page using the audio
and video tags.

Creating a table

❖ Table: Defines a table.

❖ Tr Defines a table row.

❖ Th Defines a table header cell.

❖ Td Defines a table data cell.

Princy Education YouTube Channel Best Handwritten Notes


Princy Education YouTube Channel Best Handwritten Notes

❖ Rowspan Specifies the number of rows a cell should span.

❖ Colspan Specifies the number of columns a cell should


span.

❖ Anchor element Defines a hyperlink, with attributes such as


href and mailto.

❖ Targets Specifies where the link should open, such as in


a new window or in the same window.

Cascading style sheets (CSS):

CSS is used to style HTML documents, such as changing the font, color,
and layout.

CSS properties include:

• Colour
• Background-colour
• Border-style
• Margin
• Height
• Width

Princy Education YouTube Channel Best Handwritten Notes


Princy Education YouTube Channel Best Handwritten Notes

• Outline
• Font-family
• Font-style
• Font-size
• Align
• Float

Princy Education YouTube Channel Best Handwritten Notes

You might also like