SlideShare a Scribd company logo
1 of 61
   Hyper Text Markup Language
   A markup language designed for the creation
    of web pages and other information viewable
    in a browser
   The basic language used to write web pages
   File extension: .htm, .html
 If we have some text e.g. “This is my first day
  of work, I’m so excited!”
 If we want to display the Text as :
“This is my first day of work, I’m so excited!”
 Then we need to mark “first day of work” as
  Bold.
“This is my first day of work, I‟m so
excited!”




          To be marked in Bold letters.
“This is <B>first day of work,</B> so
          my                    I‟m
  excited!”

       Result is :


“This is my first day of work, I‟m so
excited!”
1.   Open Notepad
2.   Click on File -> Save as…
3.   In the File name pull-down box, type in
     webpage.html
4.   Click on Save
5.   Type in content for your file
6.   Once you finished the content, click on File -
     > Save
Select “All Files”
from the “Save as
type” drop down list
        box.
   There are 3 ways to view the web page
    generated by the HTML file.
   Go to Start -> Run
   Click on Browse button.
Select the location of the HTML file
  (Where it is stored on your PC)
Select “All Files” option from the “Files of Type”
                Drop Down Menu.
Select the required HTML file from the list of all
              files in that location.
Click on the Open button after selecting the file.
The Web Page appears
according to the HTML
formats provided.
 Open any browser e.g. IE, Mozilla Firefox, Opera
  , Netscape Navigator etc.
 Click Open -> Browse to the location of the File.
 Select the file and click Open.
 Go to My Computers.
 Navigate to the actual
  location of the HTML
  file.
 Select the HTML file.
 Double click to open it.
   We use HTML tags to mark the elements of a
    file for the browser, in other words, we use
    tags to denote the various elements in an
    HTML document. HTML tags consist of a left
    angle bracket (<), a tag name, and a right
    angle bracket (>). Tags are usually paired
    (e.g., <H1> and </H1>) to start and end the
    tag instruction. The end tag looks just like the
    start tag except a slash (/) precedes the text
    within the brackets.
   For example: <b>, <font>,<title>, <p> etc.
   Tag usually goes with pair: an open tag (<b>) and
    an end tag (<b>)

        Effect      Code      Code Used       What It Does
         Bold         B      <B>Bold</B>         Bold
         Italic       I       <I>Italic</I>      Italic
   Single tag: <hr>,<br>
   Tags are NOT case sensitive
 Each HTML tag has certain additional
  options for providing more information to
  the final output.
 These options are called ATTRIBUTES.
 E.g. :
<BODY BGCOLOR=“Red”>…..</BODY>
 Here BODY is the Tag and BGCOLOR is the
  Attribute.
<html>
  <head>
   <title> Page Title Goes Here </title>
  </head>

  <body>
     content goes here
  </body>
</html>
<HTML>
 <HEAD>
    <TITLE>My First Web Page</TITLE>
 </HEAD>

  <BODY>
     Today is my first day at my new job, I’m so
  excited!
  </BODY>
</HTML>
For aligning the text towards
                                       the center of the web page.
                                For aligning the text towards
                                   the left of the web page.
                                        For aligning the text
   <center>….Text….</center>         towards the right of the
                         For applying BOLD font style
                                              web page.
   <left>….Text….</left> applying ITALIC font style
                       For
                              to the enclosed text.
   <right>….Text….</right>the enclosed text.
                           to
                           For applying Underline font
   <B>….Text….</B>         style to the enclosed text.
   <I>….Text….</I>
   <U>….Text….</U>
   The heading tag is used to format the
    enclosed text as large bold characters for
    displaying the heading of the web page
    content.


For Example 
This is the application of <h1>….</h1>
            tag on the text.
   There are 6 levels of the heading tag :
<h1>……….Text…………</h1>
 <h2>……….Text…………</h2>
    <h3>……….Text…………</h3>
     <h4>……….Text…………</h4>
      <h5>……….Text…………</h5>
        <h6>……….Text…………</h6>
   Each level of the heading tag formats the
    enclosed heading text with different font
    sizes beginning from the largest <h1> to
    <h6>.
   We can also apply the various formatting tags
    on it too.
<HTML>
 <HEAD>
    <TITLE>My First Web Page</TITLE>
 </HEAD>
  <BODY>
     <h1>My First Day of Work!</h1>
     Today is my first day at my new job, I’m so
  excited!
  </BODY>
</HTML>
   Hyper Text Markup Language
     Web authoring software language
     Specifically created to make World Wide Web
      pages
     Created by Tim Berners-Lee in 1993 from
      SGML
   BGCOLOR

   Specifies a background-color for an HTML page.

    <body bgcolor="#000000">

    <body bgcolor="rgb(0,0,0)">

    <body bgcolor="black">
Using the Color Code : „#000000‟
  or „RGB(0,0,0)‟ or „black‟ gives
the black color in the background.
Method I -- Simple Language Codes


• Using the name of the color
: e.g.
Red, Black, Blue, Yellow, Pink
, Orange etc.
Orange color in the
   background.
<html>
         <head>
               <title>My First Web Page</title>
         </head>

       <body bgcolor=“Orange">
             <h1>My First Day at Work!</h1>
       </body>
</html>
Method II -- Hexadecimal Codes

• Using any arbitrary combination of
alphabets and numbers preceded by a „#‟
symbol.

• Like : <body bgcolor = “#abc123”>
A random(green) color in the
       background.
<html>
         <head>
               <title>My First Web Page</title>
         </head>

       <body bgcolor=“#abc123">
             <h1>My First Day at Work!</h1>
       </body>
</html>
Method III -- Using RGB function

• Using the RGB() function in the following
manner : RGB(r,g,b) where :
     r = red color component
     g = green color component
     b = blue color component

• Example : <body bgcolor = rgb(3,4,5)>
A random(violet) color in the
       background.
<html>
         <head>
               <title>My First Web Page</title>
         </head>

       <body bgcolor=RGB(150,44,100)>
             <h1>My First Day at Work!</h1>
       </body>
</html>
   Background Attribute in the Body tag.

   Specifies a background-image for a HTML page
    <body background="clouds.gif">
    <body
    background="C:WindowsFeatherTexture.bmp">
<html>
  <head>
       <title>My First Web Page</title>
  </head>

  <body background="C:WindowsFeatherTexture.bmp">
             <h1>My First Day at Work!</h1>
  </body>
</html>
Some simple tips :




Step 1
•   Search for some pictures available on your PC.
You can provide the image
type (*.jpg,*.gif,*.bmp,*.png)
etc. to narrow your search.
Select any image
and browse to its
location.
Copy the actual location of the
image.
The location copied is :
“C:Documents and Settingsnew
userMy DocumentsMy Pictures”
Select
“Properties”.
Select and copy the
                             filename from the
                             Properties Dialog Box and
                             check its type also.




The Complete path to the image is :
“C:Documents and Settingsnew userMy DocumentsMy
PicturesGiraffe.jpg”
<html>
<head>
<title>My First Web Page</title>
</head>

<body background= “C:Documents and Settingsnew userMy
DocumentsMy PicturesGiraffe.jpg” >
<h1>My First Day at Work!</h1>
</body>
</html>
Background image is
applied at the back
HTML Tutorial

More Related Content

What's hot

Html introduction by ikram niaz
Html introduction by ikram niazHtml introduction by ikram niaz
Html introduction by ikram niazikram niaz
 
Web development using html 5
Web development using html 5Web development using html 5
Web development using html 5Anjan Mahanta
 
3. tutorial html web desain
3. tutorial html web desain3. tutorial html web desain
3. tutorial html web desainfaizibra
 
Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3bluejayjunior
 
What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)Ahsan Rahim
 
Web designing (1) - Html Basic Codding
Web designing (1) - Html Basic CoddingWeb designing (1) - Html Basic Codding
Web designing (1) - Html Basic CoddingRabiul robi
 
Html basics 1
Html basics 1Html basics 1
Html basics 1H K
 
Html project report12
Html project report12Html project report12
Html project report12varunmaini123
 
HTML_Slideshow1
HTML_Slideshow1HTML_Slideshow1
HTML_Slideshow1ldehn
 

What's hot (20)

Introhtml 2
Introhtml 2Introhtml 2
Introhtml 2
 
Html
HtmlHtml
Html
 
Web Page Designing Using HTML
Web Page Designing Using HTMLWeb Page Designing Using HTML
Web Page Designing Using HTML
 
Html introduction by ikram niaz
Html introduction by ikram niazHtml introduction by ikram niaz
Html introduction by ikram niaz
 
Html
HtmlHtml
Html
 
Web development using html 5
Web development using html 5Web development using html 5
Web development using html 5
 
3. tutorial html web desain
3. tutorial html web desain3. tutorial html web desain
3. tutorial html web desain
 
Html tutorials
Html tutorialsHtml tutorials
Html tutorials
 
Html tags or elements
Html tags or elementsHtml tags or elements
Html tags or elements
 
Html and its tags
Html and its tagsHtml and its tags
Html and its tags
 
HTML basics
HTML basicsHTML basics
HTML basics
 
Html
HtmlHtml
Html
 
Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3
 
What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)
 
Web designing (1) - Html Basic Codding
Web designing (1) - Html Basic CoddingWeb designing (1) - Html Basic Codding
Web designing (1) - Html Basic Codding
 
Html
HtmlHtml
Html
 
Html basics 1
Html basics 1Html basics 1
Html basics 1
 
Html project report12
Html project report12Html project report12
Html project report12
 
Introduction html
Introduction htmlIntroduction html
Introduction html
 
HTML_Slideshow1
HTML_Slideshow1HTML_Slideshow1
HTML_Slideshow1
 

Viewers also liked

Html tutorial.lesson12
Html tutorial.lesson12Html tutorial.lesson12
Html tutorial.lesson12grassos
 
Html tutorial.lesson10
Html tutorial.lesson10Html tutorial.lesson10
Html tutorial.lesson10grassos
 
HTML Forms Tutorial
HTML Forms TutorialHTML Forms Tutorial
HTML Forms TutorialProdigyView
 
Html tutorial.lesson9
Html tutorial.lesson9Html tutorial.lesson9
Html tutorial.lesson9grassos
 
Adrianne’s &lt;/html> Tutorial
Adrianne’s &lt;/html> TutorialAdrianne’s &lt;/html> Tutorial
Adrianne’s &lt;/html> TutorialAdrianne Navarro
 
Basic html for Normal People
Basic html for Normal PeopleBasic html for Normal People
Basic html for Normal PeopleTed Curran
 
Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]Kosie Eloff
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLOlivia Moran
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmleShikshak
 
HTML Training in Ambala ! BATRA COMPUTER CENTRE
HTML Training in Ambala ! BATRA COMPUTER CENTREHTML Training in Ambala ! BATRA COMPUTER CENTRE
HTML Training in Ambala ! BATRA COMPUTER CENTREjatin batra
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for studentsvethics
 

Viewers also liked (20)

Html tutorial.lesson12
Html tutorial.lesson12Html tutorial.lesson12
Html tutorial.lesson12
 
Html tutorial.lesson10
Html tutorial.lesson10Html tutorial.lesson10
Html tutorial.lesson10
 
Html
HtmlHtml
Html
 
HTML Forms Tutorial
HTML Forms TutorialHTML Forms Tutorial
HTML Forms Tutorial
 
Html tutorial.lesson9
Html tutorial.lesson9Html tutorial.lesson9
Html tutorial.lesson9
 
Basic html
Basic htmlBasic html
Basic html
 
Adrianne’s &lt;/html> Tutorial
Adrianne’s &lt;/html> TutorialAdrianne’s &lt;/html> Tutorial
Adrianne’s &lt;/html> Tutorial
 
Html Tutorial
Html TutorialHtml Tutorial
Html Tutorial
 
Html basic
Html basicHtml basic
Html basic
 
Basic html for Normal People
Basic html for Normal PeopleBasic html for Normal People
Basic html for Normal People
 
Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]Introduction to basic HTML [Librarian edition]
Introduction to basic HTML [Librarian edition]
 
Html - Tutorial
Html - TutorialHtml - Tutorial
Html - Tutorial
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
 
Html
HtmlHtml
Html
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
HTML Training in Ambala ! BATRA COMPUTER CENTRE
HTML Training in Ambala ! BATRA COMPUTER CENTREHTML Training in Ambala ! BATRA COMPUTER CENTRE
HTML Training in Ambala ! BATRA COMPUTER CENTRE
 
Html tutorial
Html tutorialHtml tutorial
Html tutorial
 
HTTP & HTML & Web
HTTP & HTML & WebHTTP & HTML & Web
HTTP & HTML & Web
 
HTML Basic
HTML BasicHTML Basic
HTML Basic
 
Basic Html Knowledge for students
Basic Html Knowledge for studentsBasic Html Knowledge for students
Basic Html Knowledge for students
 

Similar to HTML Tutorial

Similar to HTML Tutorial (20)

HTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docxHTML Lab ProjectTo create a simple web page you will need .docx
HTML Lab ProjectTo create a simple web page you will need .docx
 
Html tutorials
Html tutorialsHtml tutorials
Html tutorials
 
Presentation of Hyper Text Markup Language
Presentation of Hyper Text Markup LanguagePresentation of Hyper Text Markup Language
Presentation of Hyper Text Markup Language
 
html-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdfhtml-150424090224-conversion-gate0.2.pdf
html-150424090224-conversion-gate0.2.pdf
 
Web Design-III IT.ppt
Web Design-III IT.pptWeb Design-III IT.ppt
Web Design-III IT.ppt
 
Html cia
Html ciaHtml cia
Html cia
 
Html1
Html1Html1
Html1
 
902350 html jar
902350 html jar902350 html jar
902350 html jar
 
Unit 2 (html)
Unit 2  (html)Unit 2  (html)
Unit 2 (html)
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
Html basics NOTE
 
HTML-INTRO.pptx
HTML-INTRO.pptxHTML-INTRO.pptx
HTML-INTRO.pptx
 
Basic Html Notes
Basic Html NotesBasic Html Notes
Basic Html Notes
 
introduction to HTML. How to learn HTML coding
introduction to HTML. How to learn HTML codingintroduction to HTML. How to learn HTML coding
introduction to HTML. How to learn HTML coding
 
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdfHSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
HSC INFORMATION TECHNOLOGY CHAPTER 1 ADVANCED WEB DESIGNING PART I.pdf
 
Slides 2 - HTML
Slides 2 - HTMLSlides 2 - HTML
Slides 2 - HTML
 
Web Design.ppt
Web Design.pptWeb Design.ppt
Web Design.ppt
 
Html basics
Html basicsHtml basics
Html basics
 
HTML_Basics.pdf
HTML_Basics.pdfHTML_Basics.pdf
HTML_Basics.pdf
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 

Recently uploaded

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIShubhangi Sonawane
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 

Recently uploaded (20)

Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

HTML Tutorial

  • 1.
  • 2. Hyper Text Markup Language  A markup language designed for the creation of web pages and other information viewable in a browser  The basic language used to write web pages  File extension: .htm, .html
  • 3.  If we have some text e.g. “This is my first day of work, I’m so excited!”  If we want to display the Text as : “This is my first day of work, I’m so excited!”  Then we need to mark “first day of work” as Bold.
  • 4. “This is my first day of work, I‟m so excited!” To be marked in Bold letters.
  • 5. “This is <B>first day of work,</B> so my I‟m excited!” Result is : “This is my first day of work, I‟m so excited!”
  • 6.
  • 7. 1. Open Notepad 2. Click on File -> Save as… 3. In the File name pull-down box, type in webpage.html 4. Click on Save 5. Type in content for your file 6. Once you finished the content, click on File - > Save
  • 8.
  • 9.
  • 10.
  • 11. Select “All Files” from the “Save as type” drop down list box.
  • 12.
  • 13.
  • 14.
  • 15. There are 3 ways to view the web page generated by the HTML file.
  • 16. Go to Start -> Run
  • 17. Click on Browse button.
  • 18. Select the location of the HTML file (Where it is stored on your PC)
  • 19. Select “All Files” option from the “Files of Type” Drop Down Menu.
  • 20. Select the required HTML file from the list of all files in that location.
  • 21. Click on the Open button after selecting the file.
  • 22. The Web Page appears according to the HTML formats provided.
  • 23.  Open any browser e.g. IE, Mozilla Firefox, Opera , Netscape Navigator etc.  Click Open -> Browse to the location of the File.  Select the file and click Open.
  • 24.
  • 25.  Go to My Computers.  Navigate to the actual location of the HTML file.  Select the HTML file.  Double click to open it.
  • 26. We use HTML tags to mark the elements of a file for the browser, in other words, we use tags to denote the various elements in an HTML document. HTML tags consist of a left angle bracket (<), a tag name, and a right angle bracket (>). Tags are usually paired (e.g., <H1> and </H1>) to start and end the tag instruction. The end tag looks just like the start tag except a slash (/) precedes the text within the brackets.
  • 27. For example: <b>, <font>,<title>, <p> etc.  Tag usually goes with pair: an open tag (<b>) and an end tag (<b>) Effect Code Code Used What It Does Bold B <B>Bold</B> Bold Italic I <I>Italic</I> Italic  Single tag: <hr>,<br>  Tags are NOT case sensitive
  • 28.  Each HTML tag has certain additional options for providing more information to the final output.  These options are called ATTRIBUTES.  E.g. : <BODY BGCOLOR=“Red”>…..</BODY>  Here BODY is the Tag and BGCOLOR is the Attribute.
  • 29. <html> <head> <title> Page Title Goes Here </title> </head> <body> content goes here </body> </html>
  • 30. <HTML> <HEAD> <TITLE>My First Web Page</TITLE> </HEAD> <BODY> Today is my first day at my new job, I’m so excited! </BODY> </HTML>
  • 31. For aligning the text towards the center of the web page. For aligning the text towards the left of the web page. For aligning the text  <center>….Text….</center> towards the right of the For applying BOLD font style web page.  <left>….Text….</left> applying ITALIC font style For to the enclosed text.  <right>….Text….</right>the enclosed text. to For applying Underline font  <B>….Text….</B> style to the enclosed text.  <I>….Text….</I>  <U>….Text….</U>
  • 32. The heading tag is used to format the enclosed text as large bold characters for displaying the heading of the web page content. For Example 
  • 33. This is the application of <h1>….</h1> tag on the text.
  • 34. There are 6 levels of the heading tag : <h1>……….Text…………</h1> <h2>……….Text…………</h2> <h3>……….Text…………</h3> <h4>……….Text…………</h4> <h5>……….Text…………</h5> <h6>……….Text…………</h6>
  • 35. Each level of the heading tag formats the enclosed heading text with different font sizes beginning from the largest <h1> to <h6>.  We can also apply the various formatting tags on it too.
  • 36. <HTML> <HEAD> <TITLE>My First Web Page</TITLE> </HEAD> <BODY> <h1>My First Day of Work!</h1> Today is my first day at my new job, I’m so excited! </BODY> </HTML>
  • 37. Hyper Text Markup Language  Web authoring software language  Specifically created to make World Wide Web pages  Created by Tim Berners-Lee in 1993 from SGML
  • 38. BGCOLOR  Specifies a background-color for an HTML page. <body bgcolor="#000000"> <body bgcolor="rgb(0,0,0)"> <body bgcolor="black">
  • 39. Using the Color Code : „#000000‟ or „RGB(0,0,0)‟ or „black‟ gives the black color in the background.
  • 40. Method I -- Simple Language Codes • Using the name of the color : e.g. Red, Black, Blue, Yellow, Pink , Orange etc.
  • 41. Orange color in the background.
  • 42. <html> <head> <title>My First Web Page</title> </head> <body bgcolor=“Orange"> <h1>My First Day at Work!</h1> </body> </html>
  • 43. Method II -- Hexadecimal Codes • Using any arbitrary combination of alphabets and numbers preceded by a „#‟ symbol. • Like : <body bgcolor = “#abc123”>
  • 44. A random(green) color in the background.
  • 45. <html> <head> <title>My First Web Page</title> </head> <body bgcolor=“#abc123"> <h1>My First Day at Work!</h1> </body> </html>
  • 46. Method III -- Using RGB function • Using the RGB() function in the following manner : RGB(r,g,b) where : r = red color component g = green color component b = blue color component • Example : <body bgcolor = rgb(3,4,5)>
  • 47. A random(violet) color in the background.
  • 48. <html> <head> <title>My First Web Page</title> </head> <body bgcolor=RGB(150,44,100)> <h1>My First Day at Work!</h1> </body> </html>
  • 49. Background Attribute in the Body tag.  Specifies a background-image for a HTML page <body background="clouds.gif"> <body background="C:WindowsFeatherTexture.bmp">
  • 50.
  • 51. <html> <head> <title>My First Web Page</title> </head> <body background="C:WindowsFeatherTexture.bmp"> <h1>My First Day at Work!</h1> </body> </html>
  • 52. Some simple tips : Step 1 • Search for some pictures available on your PC.
  • 53. You can provide the image type (*.jpg,*.gif,*.bmp,*.png) etc. to narrow your search.
  • 54. Select any image and browse to its location.
  • 55. Copy the actual location of the image.
  • 56. The location copied is : “C:Documents and Settingsnew userMy DocumentsMy Pictures”
  • 58. Select and copy the filename from the Properties Dialog Box and check its type also. The Complete path to the image is : “C:Documents and Settingsnew userMy DocumentsMy PicturesGiraffe.jpg”
  • 59. <html> <head> <title>My First Web Page</title> </head> <body background= “C:Documents and Settingsnew userMy DocumentsMy PicturesGiraffe.jpg” > <h1>My First Day at Work!</h1> </body> </html>