SlideShare ist ein Scribd-Unternehmen logo
1 von 51
Presented 
By 
F.NISHA
HTML is used to create web documents including text, images, 
formatting and hyperlink to other documents. 
HTML stands for Hyper Text Markup Language 
HTML is a markup language. 
A markup language is a set of markup tags 
The tag describe documents contain HTML tags and plain text. 
HTML documents are also called web pages 
Pages end with “.htm” or “.html”
HTML tags are keywords surrounded by ankle brackets like 
<HTML>. 
HTML tags normally come in pairs like <HTML></HTML> 
The first tag is start tag and second tag is end tag 
The end tag is written like start tag with a slash before the tag 
name 
Start and end tags are also called opening and closing tags
HTLM tags indicate this is an HTML document: 
<html> < /html> 
Each page has 2 parts: 
Head – holds information like the page title , author name, etc. this 
section includes the following tags:<title>, <meta>, <base>, <script>, 
<style> 
<head> </head> 
Body – holds the visible text and images , videos 
<body> </body>
<HTML> 
<HEAD> 
<TITLE></TITLE> 
</HEAD> 
<BODY> 
This is what is displayed. 
</BODY> 
</HTML>
Starting with the tag <html>...</html> 
Everything about the web 
page should be enclosed 
here 
<html> 
....... 
</html>
Inside the <html></html> tag. 
Each web page has a head part described in <head></head> tag: 
<html> 
<head> 
<title> CGS 2100 </title> 
</head> 
</html> 
The title of the web 
page should be put 
here
Inside the <html></html> tag 
Each web page has a body part described in <body></body> tag: 
<html> 
<head> 
<title> CGS 2100 </title> 
</head> 
<body> 
This is a sample HTML file. 
</body> 
</html> 
The content of 
the whole web 
page should be 
put here
Title 
Body
HEADER Tags Web Browser will Display 
<H1>Hello World</H1> Hello World 
<H2>Hello World</H2> Hello World 
<H3>Hello World</H3> Hello World 
<H4>Hello World</H4> Hello World 
<H5>Hello World</H5> Hello World 
<H6>Hello World</H6> Hello World
The physical style tags are those give some control over the 
physical appearance of the text. 
The Physical Style Tags and Examples 
Tags 
Example of the display 
of the tags 
The Bold Tag <B> Hi World 
The Italic Tag <I> Hi World 
The Underscore Tag <U> Hi World 
The Big Tag <Big> Hi World 
The Fixed Width (Tele-Type) Tag 
<TT> 
Hi World 
The Small Tag <Small> Hi World 
The Strike Through Tag <Strike> 
This tag is used to indicate changes 
Hi World 
in the original document. 
The Subscript Tag <Sub> 
The i-th variable in a 
sequence of x's is Xi. 
The Superscript Tag <Sup> X times X is X 2
A Table of Values for the Font Size Attribute 
HTML Source for Fonts Sizes 1-7 Display of Resulting HTML Document 
<Font Size="1">Size 1</Font> Size 1 
<Font Size="2">Size 2</Font> Size 2 
<Font Size="3">Size 3</Font> Size 3 
<Font Size="4">Size 4</Font> Size 4 
<Font Size="5">Size 5</Font> Size 5 
<Font Size="6">Size 6</Font> Size 6 
<Font Size="7">Size 7</Font> Size 7
Ordered list: used to display information in a numeric order. The 
syntax for creating an ordered list is: 
<ol > e.g. <ol > 
<li>item1 </li> <li> Name: Your name </li> 
<li>item2 </li> <li> Section: ### </li> 
… <li> Instructor: Yuping </li> 
</ol> </ol> 
Result:
Unordered list: list items are not listed in a particular 
order. The syntax is: 
<ul > e.g. <ul> 
<li>item1 </li> <li> Name: Your name </li> 
<li>item2 </li> <li> Section: ### </li> 
… <li> Instructor: Yuping </li> 
</ul> </ul>
Nesting List: You can nest lists by inserting a UL, OL, etc., inside 
a list item (LI). 
Example 
<UL TYPE = “square”> 
<OL TYPE=“i” START=“3”> 
<LI> List item …</LI> 
<LI> List item …</LI> 
<LI> List item …</LI> 
<LI> List item …</LI> 
<LI> List item …</LI> 
</OL> 
</LI> 
<LI> List item …</LI> 
</UL> 
OUTPUT
Link to another location or file 
Syntax: 
<a href= “http://www.espesolutions.com”> 
</a> 
Starting 
Tag 
Content displayed on 
the page 
Attribute of the tag: the address of 
the hyperlink 
Ending tag 
Result:
Link to web site 
<a href= “http://www.google.com”> Link to UCF </a> 
Link to document 
<a href=“http://www.eecs.ucf.edu/images/building.jpg/”> 
</a> 
Email link 
<a href= “mailto:name@domain.com”> Link to email 
</a>
Tables are defined with the <table> tag. 
A table is divided into rows with the <tr> tag. 
(tr stands for table row) 
A row is divided into data cells with the <td> tag. (td stands for table data) 
A row can also be divided into headings with the <th> tag. 
(th stands for table heading) 
The <td> elements are the data containers in the table. 
The <td> elements can contain all sorts of HTML elements like text, images, 
lists, other tables, etc. 
The width of a table can be defined using CSS.
<table border=“1”> OUTPUT: 
<tr> 
<th> Column 1 header </th> 
<th> Column 2 header </th> 
</tr> 
<tr> 
<td> Row1, Col1 </td> 
<td> Row1, Col2 </td> 
</tr> 
<tr> 
<td> Row2, Col1 </td> 
<td> Row2, Col2 </td> 
</tr> 
</table>
BGColor: Some browsers support background colors in a table. 
Width: you can specify the table width as an absolute number 
of pixels or a percentage of the document width. You can set 
the width for the table cells as well. 
Border: You can choose a numerical value for the border 
width, which specifies the border in pixels. 
CellSpacing: Cell Spacing represents the space between cells 
and is specified in pixels.
CellPadding: Cell Padding is the space between the cell border 
and the cell contents and is specified in pixels. 
Align: tables can have left, right, or center alignment. 
Background: Set image in table background. 
BorderColor,BorderColor dark.
Colspan: Specifies how many cell columns of the table this 
cell should span. 
Rowspan: Specifies how many cell rows of the table this 
cell should span. 
Align: cell data can have left, right, or center alignment. 
Valign: cell data can have top, middle, or bottom alignment. 
Width: you can specify the width as an absolute number of 
pixels or a percentage of the document width. 
Height: You can specify the height as an absolute number of 
pixels or a percentage of the document height.
<TABLE BORDER=1 width=50%> 
<CAPTION> <h1>Spare Parts <h1> </Caption> 
<TR><TH>Stock Number</TH><TH>Description</TH><TH>List Price</TH></TR> 
<TR><TD>bgcolor=red>3476-AB</TD><TD>76mm Socket</TD><TD>45.00</TD></TR> 
<TR><TD >3478-AB</TD><TD><font color=blue>78mm Socket</font> 
</TD><TD>47.50</TD></TR> 
<TR><TD>3480-AB</TD><TD>80mm Socket</TD><TD>50.00</TD></TR> 
</TABLE>
<BODY attributename="attributevalue"> 
Deprecated attributes (but still used) 
• BACKGROUND=“Sunset.jpg” (can be tiled) 
• BGPROPERTIES=“fixed|scroll” 
• BGCOLOR=color 
• TEXT=color 
• LINK=color (unvisited links) 
• VLINK=color (visited links) 
• ALINK=color (when selected) 
Margins: 
leftmargin=0 topmargin=0 marginwidth=0 marginheight=0
HTML identifies a color in one of two ways: 
by the color’s name 
• red, maroon, green, black, blue, purple 
by the color values 
• To have more control and more choices, specify colors 
using color values.
Any color can be a combination of 
three primary colors: red, green, 
and blue. 
By varying the intensity of each 
primary color, you can create 
almost any color. 
Yellow, magenta, cyan, and white are 
produced by adding the three primary colors.
Each color is represented by a triplet of numbers, called an 
RGB triplet, based on the strength of its Red, Green, and 
Blue. 
rgb (red, green, blue) 
where red, green, blue are the intensity values of the red, 
green, and blue components. 
The intensity values range from 0 (absence of color) to 255 
(highest intensity). 
2553 (or more than 16.7 million) colors can be defined.
Color values can also be entered as hexadecimals in the form: 
#RedGreenBlue 
A hexadecimal is a number based on base-16 
• hexadecimals include six extra characters: A (for 10), B (for 
11), C (for 12), D (for 13), E (for 14), and F (for 15). 
• 16 is expressed as “#10”, 17 as “#11”, 38 as “#26”, 165 as 
“#A5”, and 255 as “FF” in hexadecimal format.
<html> 
<head> 
</head> 
<body bgcolor="yellow"> 
<h1>body background color is yellow</h1> 
</body></html>
<html> <head></head> 
<body bgcolor="yellow"> 
<h1>body background color is yellow</h1> 
<h2><font color=red>Font color is red</font></h2> 
</body></html>
• HTML Forms are used to select different kinds of user input. 
• HTML forms are used to pass data to a server. 
• An HTML form can contain input elements like text fields, 
checkboxes, radio-buttons, submit buttons and more. A form can also 
contain select lists, textarea, fieldset, legend, and label elements. 
• Syntax: 
<form> 
.input elements 
.</form>
The most important form element is the <input> element. 
The <input> element is used to select user information. 
An <input> element can vary in many ways, depending on the 
type attribute. 
An <input> element can be of type text field, checkbox, 
password, radio button, submit button, and more.
Defines one line input field where user can enter text. 
Syntax: 
<form> 
First name: <input type="text“ name="firstname"><br> 
Last name: <input type="text" name="lastname"> 
</form> 
Output: 
First name: 
Last name:
Password defines a password field. 
<input type=“password”> 
The text entered in the textfield will view as *******. 
Syntax: 
Password:<input type =“password” name=“ password”> 
OUTPUT: 
Password: *********
Radio buttons let a user select ONLY ONE of a limited number of 
choices. 
<input type="radio"> defines a radio button. 
Syntax: 
<form> 
<input type="radio" name=“gender" value="male">Male<br> 
<input type="radio" name=“gender" value="female">Female 
</form> 
Output: Male 
Female
Checkboxes let a user select ZERO or MORE options of a limited number of 
choices. 
<input type="checkbox"> defines a checkbox. 
Syntax: 
<form> 
<input type="checkbox" name="vehicle" value="Bike">I have a bike<br> 
<input type="checkbox" name="vehicle" value="Car">I have a car 
</form> 
Output: 
I have a bike 
I have a bike
A submit button is used to send form data to a server. 
The data is sent to the page specified in the form's action attribute. T 
The file defined in the action attribute usually does something with the received 
input. 
<input type="submit"> defines a submit button. 
 TYPE: submit. 
 NAME: value used by the CGI (common gateway interface)script for processing. 
 VALUE: determines the text label on the button, usually Submit Query. 
CGI: External program use standard input and output for data exchange.
Syntax: 
<form name="input" action="demo" method="get"> 
Username: <input type="text" name="user"> 
Password:<input type=“password” name=“pass”> 
<input type="submit“ value=“submit” > 
</form> 
Output:
It allows the surfer to clear all the input in the form. 
For reset give <input type=“reset”> 
The browser display reset button.
Let a user select one or more choices from limited number of options. 
The <select> element is used to create a drop-down list. 
The <option>tags inside the <select> element define the available options in the 
list. 
Syntax: 
<html> 
<body> 
<select> 
<option value="volvo">Volvo</option> 
<option value="saab">Saab</option> 
<option value=“fiat">Fiat</option> 
<option value="audi">Audi</option> 
</select> 
</body> 
</html>
To select multiple options. 
<SELECT NAME="ComputerType" size=5 multiple> 
<OPTION value="IBM" > IBM</OPTION> 
<OPTION value="INTEL"> INTEL</OPTION> 
<OPTION value=" Apple"> Apple</OPTION> 
<OPTION value="Compaq" SELECTED> Compaq</OPTION> 
<OPTION value=" other"> Other</OPTION> 
</SELECT>
The <textarea> tag defines a multi-line text input control. 
The size of a text area can be specified by the cols and rows 
attributes, or even better; through CSS' height and width 
properties. 
<syntax: 
<html> 
<body> 
<textarea rows="10" cols="30"> 
</textarea> 
</body> 
</html> 
output
It is a way to divide the content from the layout on web pages. 
CSS gives style to every content in your page. 
How it works: 
A style is a definition of fonts ,colors, style, height, width, 
margin etc. 
Each style has a unique name: a selector. 
The selectors and their styles are defined in one place.
In your HTML contents you simply refer to the selectors 
whenever you want to activate a certain style. 
There are three types of selectors: 
Tag(HTML) selectors - Used to define styles associated to 
HTML tags. (A way to redefine the look of tags) 
Class selectors - Used to define styles that can be used without 
redefining plain HTML tags. 
ID selectors - Used to define styles relating to objects with a 
unique ID (most often layers)
Define the look of your pages in one place rather than repeating yourself over and over again 
throughout your site. (Ever get tired of defining colors and fonts each time you start a new cell in a 
table? Those days are over with CSS!) 
Easily change the look of your pages even after they're created. Since the styles are defined in one 
place you can change the look of the entire site at once. (Ever get tired of replacing tags throughout 
your site when you want to change the look of a certain element? Those days are over with CSS!) 
Define font sizes and similar attributes with the same accuracy as you have with a word processor - 
not being limited to just the seven different font sizes defined in HTML. 
Position the content of your pages with pixel precision. 
Redefine entire HTML tags. Say for example, if you wanted the bold tag to be red using a special 
font - this can be done easily with CSS. 
Define customized styles for links - such as getting rid of the underline. 
Define layers that can be positioned on top of each other (often used for menus that pop up).
QUESTION?

Weitere ähnliche Inhalte

Was ist angesagt? (20)

HTML
HTML HTML
HTML
 
Html training slide
Html training slideHtml training slide
Html training slide
 
HTML Training Part1
HTML Training Part1HTML Training Part1
HTML Training Part1
 
HTML: Tables and Forms
HTML: Tables and FormsHTML: Tables and Forms
HTML: Tables and Forms
 
Html Basic Tags
Html Basic TagsHtml Basic Tags
Html Basic Tags
 
Frames tables forms
Frames tables formsFrames tables forms
Frames tables forms
 
Tables and Forms in HTML
Tables and Forms in HTMLTables and Forms in HTML
Tables and Forms in HTML
 
Html basics
Html basicsHtml basics
Html basics
 
HTML Table Tags
HTML Table TagsHTML Table Tags
HTML Table Tags
 
Html
HtmlHtml
Html
 
Html Table
Html TableHtml Table
Html Table
 
Tables and Forms in HTML
Tables and Forms in HTMLTables and Forms in HTML
Tables and Forms in HTML
 
HTML
HTMLHTML
HTML
 
HTML 4.0
HTML 4.0HTML 4.0
HTML 4.0
 
Html tables examples
Html tables   examplesHtml tables   examples
Html tables examples
 
FYBSC IT Web Programming Unit I HTML 5 & andcss
FYBSC IT Web Programming Unit I HTML 5 & andcssFYBSC IT Web Programming Unit I HTML 5 & andcss
FYBSC IT Web Programming Unit I HTML 5 & andcss
 
Html Study Guide
Html Study GuideHtml Study Guide
Html Study Guide
 
Html tables, forms and audio video
Html tables, forms and audio videoHtml tables, forms and audio video
Html tables, forms and audio video
 
Intodcution to Html
Intodcution to HtmlIntodcution to Html
Intodcution to Html
 
Notes4
Notes4Notes4
Notes4
 

Andere mochten auch

Web based Grievance handling system
Web based Grievance handling systemWeb based Grievance handling system
Web based Grievance handling systemFAKHRUN NISHA
 
Equipment renting booking database
Equipment renting booking databaseEquipment renting booking database
Equipment renting booking databaseFAKHRUN NISHA
 
Disease report information system
Disease report information systemDisease report information system
Disease report information systemFAKHRUN NISHA
 
web based speed age courier
web based speed age courierweb based speed age courier
web based speed age courierFAKHRUN NISHA
 
Abstract of Business card management System
Abstract of Business card management SystemAbstract of Business card management System
Abstract of Business card management SystemFAKHRUN NISHA
 
Web based Peripheral trouble shooting management system
Web based Peripheral trouble shooting management systemWeb based Peripheral trouble shooting management system
Web based Peripheral trouble shooting management systemFAKHRUN NISHA
 
Web based meeting scheduler
Web based meeting schedulerWeb based meeting scheduler
Web based meeting schedulerFAKHRUN NISHA
 
Campaign information system
Campaign information systemCampaign information system
Campaign information systemFAKHRUN NISHA
 
web based Internet cafe system abstract
web based Internet cafe system abstractweb based Internet cafe system abstract
web based Internet cafe system abstractFAKHRUN NISHA
 
web based Flow well automation system
web based Flow well automation systemweb based Flow well automation system
web based Flow well automation systemFAKHRUN NISHA
 
Web based Career guidance
Web based Career guidanceWeb based Career guidance
Web based Career guidanceFAKHRUN NISHA
 
Web based Prison management system
Web based Prison management systemWeb based Prison management system
Web based Prison management systemFAKHRUN NISHA
 
HTML/CSS/java Script/Jquery
HTML/CSS/java Script/JqueryHTML/CSS/java Script/Jquery
HTML/CSS/java Script/JqueryFAKHRUN NISHA
 
Java/Servlet/JSP/JDBC
Java/Servlet/JSP/JDBCJava/Servlet/JSP/JDBC
Java/Servlet/JSP/JDBCFAKHRUN NISHA
 
Web based Payroll Process System
Web based Payroll Process SystemWeb based Payroll Process System
Web based Payroll Process SystemFAKHRUN NISHA
 
Apartment management system web application project
Apartment management system web application projectApartment management system web application project
Apartment management system web application projectFAKHRUN NISHA
 

Andere mochten auch (20)

Web based Grievance handling system
Web based Grievance handling systemWeb based Grievance handling system
Web based Grievance handling system
 
Cross channel
Cross channel Cross channel
Cross channel
 
Equipment renting booking database
Equipment renting booking databaseEquipment renting booking database
Equipment renting booking database
 
Disease report information system
Disease report information systemDisease report information system
Disease report information system
 
web based speed age courier
web based speed age courierweb based speed age courier
web based speed age courier
 
Html
HtmlHtml
Html
 
Abstract of Business card management System
Abstract of Business card management SystemAbstract of Business card management System
Abstract of Business card management System
 
Web based Peripheral trouble shooting management system
Web based Peripheral trouble shooting management systemWeb based Peripheral trouble shooting management system
Web based Peripheral trouble shooting management system
 
Web based meeting scheduler
Web based meeting schedulerWeb based meeting scheduler
Web based meeting scheduler
 
Campaign information system
Campaign information systemCampaign information system
Campaign information system
 
web based Internet cafe system abstract
web based Internet cafe system abstractweb based Internet cafe system abstract
web based Internet cafe system abstract
 
web based Flow well automation system
web based Flow well automation systemweb based Flow well automation system
web based Flow well automation system
 
Catering Service
Catering ServiceCatering Service
Catering Service
 
Web based Career guidance
Web based Career guidanceWeb based Career guidance
Web based Career guidance
 
Web based Prison management system
Web based Prison management systemWeb based Prison management system
Web based Prison management system
 
HTML/CSS/java Script/Jquery
HTML/CSS/java Script/JqueryHTML/CSS/java Script/Jquery
HTML/CSS/java Script/Jquery
 
Java/Servlet/JSP/JDBC
Java/Servlet/JSP/JDBCJava/Servlet/JSP/JDBC
Java/Servlet/JSP/JDBC
 
Web based Payroll Process System
Web based Payroll Process SystemWeb based Payroll Process System
Web based Payroll Process System
 
Apartment management system web application project
Apartment management system web application projectApartment management system web application project
Apartment management system web application project
 
Online event management system
Online event management systemOnline event management system
Online event management system
 

Ähnlich wie Html (20)

HTML5 with PHP.ini
HTML5 with PHP.iniHTML5 with PHP.ini
HTML5 with PHP.ini
 
Html
HtmlHtml
Html
 
PPT-203105353-1.pdf
PPT-203105353-1.pdfPPT-203105353-1.pdf
PPT-203105353-1.pdf
 
html tutorial
html tutorialhtml tutorial
html tutorial
 
Html
HtmlHtml
Html
 
HTML.pdf
HTML.pdfHTML.pdf
HTML.pdf
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
 
Html introduction Part-2
Html introduction Part-2Html introduction Part-2
Html introduction Part-2
 
Hyper Text Mark-up Language
Hyper Text Mark-up Language Hyper Text Mark-up Language
Hyper Text Mark-up Language
 
HTML
HTMLHTML
HTML
 
Html ppt computer
Html ppt computerHtml ppt computer
Html ppt computer
 
Html ppt
Html pptHtml ppt
Html ppt
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
HTML Tags
HTML TagsHTML Tags
HTML Tags
 
Introduction to HTML
Introduction to HTML Introduction to HTML
Introduction to HTML
 
Html presentation
Html presentationHtml presentation
Html presentation
 
web unit 2_4338494_2023_08_14_23_11.pptx
web unit 2_4338494_2023_08_14_23_11.pptxweb unit 2_4338494_2023_08_14_23_11.pptx
web unit 2_4338494_2023_08_14_23_11.pptx
 
HTML
HTMLHTML
HTML
 
chapter-17-web-designing2.pdf
chapter-17-web-designing2.pdfchapter-17-web-designing2.pdf
chapter-17-web-designing2.pdf
 
Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01Htmlppt 100604051515-phpapp01
Htmlppt 100604051515-phpapp01
 

Kürzlich hochgeladen

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 

Kürzlich hochgeladen (20)

Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 

Html

  • 2. HTML is used to create web documents including text, images, formatting and hyperlink to other documents. HTML stands for Hyper Text Markup Language HTML is a markup language. A markup language is a set of markup tags The tag describe documents contain HTML tags and plain text. HTML documents are also called web pages Pages end with “.htm” or “.html”
  • 3. HTML tags are keywords surrounded by ankle brackets like <HTML>. HTML tags normally come in pairs like <HTML></HTML> The first tag is start tag and second tag is end tag The end tag is written like start tag with a slash before the tag name Start and end tags are also called opening and closing tags
  • 4. HTLM tags indicate this is an HTML document: <html> < /html> Each page has 2 parts: Head – holds information like the page title , author name, etc. this section includes the following tags:<title>, <meta>, <base>, <script>, <style> <head> </head> Body – holds the visible text and images , videos <body> </body>
  • 5. <HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> This is what is displayed. </BODY> </HTML>
  • 6. Starting with the tag <html>...</html> Everything about the web page should be enclosed here <html> ....... </html>
  • 7. Inside the <html></html> tag. Each web page has a head part described in <head></head> tag: <html> <head> <title> CGS 2100 </title> </head> </html> The title of the web page should be put here
  • 8. Inside the <html></html> tag Each web page has a body part described in <body></body> tag: <html> <head> <title> CGS 2100 </title> </head> <body> This is a sample HTML file. </body> </html> The content of the whole web page should be put here
  • 10. HEADER Tags Web Browser will Display <H1>Hello World</H1> Hello World <H2>Hello World</H2> Hello World <H3>Hello World</H3> Hello World <H4>Hello World</H4> Hello World <H5>Hello World</H5> Hello World <H6>Hello World</H6> Hello World
  • 11. The physical style tags are those give some control over the physical appearance of the text. The Physical Style Tags and Examples Tags Example of the display of the tags The Bold Tag <B> Hi World The Italic Tag <I> Hi World The Underscore Tag <U> Hi World The Big Tag <Big> Hi World The Fixed Width (Tele-Type) Tag <TT> Hi World The Small Tag <Small> Hi World The Strike Through Tag <Strike> This tag is used to indicate changes Hi World in the original document. The Subscript Tag <Sub> The i-th variable in a sequence of x's is Xi. The Superscript Tag <Sup> X times X is X 2
  • 12. A Table of Values for the Font Size Attribute HTML Source for Fonts Sizes 1-7 Display of Resulting HTML Document <Font Size="1">Size 1</Font> Size 1 <Font Size="2">Size 2</Font> Size 2 <Font Size="3">Size 3</Font> Size 3 <Font Size="4">Size 4</Font> Size 4 <Font Size="5">Size 5</Font> Size 5 <Font Size="6">Size 6</Font> Size 6 <Font Size="7">Size 7</Font> Size 7
  • 13. Ordered list: used to display information in a numeric order. The syntax for creating an ordered list is: <ol > e.g. <ol > <li>item1 </li> <li> Name: Your name </li> <li>item2 </li> <li> Section: ### </li> … <li> Instructor: Yuping </li> </ol> </ol> Result:
  • 14. Unordered list: list items are not listed in a particular order. The syntax is: <ul > e.g. <ul> <li>item1 </li> <li> Name: Your name </li> <li>item2 </li> <li> Section: ### </li> … <li> Instructor: Yuping </li> </ul> </ul>
  • 15. Nesting List: You can nest lists by inserting a UL, OL, etc., inside a list item (LI). Example <UL TYPE = “square”> <OL TYPE=“i” START=“3”> <LI> List item …</LI> <LI> List item …</LI> <LI> List item …</LI> <LI> List item …</LI> <LI> List item …</LI> </OL> </LI> <LI> List item …</LI> </UL> OUTPUT
  • 16. Link to another location or file Syntax: <a href= “http://www.espesolutions.com”> </a> Starting Tag Content displayed on the page Attribute of the tag: the address of the hyperlink Ending tag Result:
  • 17. Link to web site <a href= “http://www.google.com”> Link to UCF </a> Link to document <a href=“http://www.eecs.ucf.edu/images/building.jpg/”> </a> Email link <a href= “mailto:name@domain.com”> Link to email </a>
  • 18. Tables are defined with the <table> tag. A table is divided into rows with the <tr> tag. (tr stands for table row) A row is divided into data cells with the <td> tag. (td stands for table data) A row can also be divided into headings with the <th> tag. (th stands for table heading) The <td> elements are the data containers in the table. The <td> elements can contain all sorts of HTML elements like text, images, lists, other tables, etc. The width of a table can be defined using CSS.
  • 19. <table border=“1”> OUTPUT: <tr> <th> Column 1 header </th> <th> Column 2 header </th> </tr> <tr> <td> Row1, Col1 </td> <td> Row1, Col2 </td> </tr> <tr> <td> Row2, Col1 </td> <td> Row2, Col2 </td> </tr> </table>
  • 20. BGColor: Some browsers support background colors in a table. Width: you can specify the table width as an absolute number of pixels or a percentage of the document width. You can set the width for the table cells as well. Border: You can choose a numerical value for the border width, which specifies the border in pixels. CellSpacing: Cell Spacing represents the space between cells and is specified in pixels.
  • 21. CellPadding: Cell Padding is the space between the cell border and the cell contents and is specified in pixels. Align: tables can have left, right, or center alignment. Background: Set image in table background. BorderColor,BorderColor dark.
  • 22. Colspan: Specifies how many cell columns of the table this cell should span. Rowspan: Specifies how many cell rows of the table this cell should span. Align: cell data can have left, right, or center alignment. Valign: cell data can have top, middle, or bottom alignment. Width: you can specify the width as an absolute number of pixels or a percentage of the document width. Height: You can specify the height as an absolute number of pixels or a percentage of the document height.
  • 23. <TABLE BORDER=1 width=50%> <CAPTION> <h1>Spare Parts <h1> </Caption> <TR><TH>Stock Number</TH><TH>Description</TH><TH>List Price</TH></TR> <TR><TD>bgcolor=red>3476-AB</TD><TD>76mm Socket</TD><TD>45.00</TD></TR> <TR><TD >3478-AB</TD><TD><font color=blue>78mm Socket</font> </TD><TD>47.50</TD></TR> <TR><TD>3480-AB</TD><TD>80mm Socket</TD><TD>50.00</TD></TR> </TABLE>
  • 24. <BODY attributename="attributevalue"> Deprecated attributes (but still used) • BACKGROUND=“Sunset.jpg” (can be tiled) • BGPROPERTIES=“fixed|scroll” • BGCOLOR=color • TEXT=color • LINK=color (unvisited links) • VLINK=color (visited links) • ALINK=color (when selected) Margins: leftmargin=0 topmargin=0 marginwidth=0 marginheight=0
  • 25. HTML identifies a color in one of two ways: by the color’s name • red, maroon, green, black, blue, purple by the color values • To have more control and more choices, specify colors using color values.
  • 26.
  • 27.
  • 28. Any color can be a combination of three primary colors: red, green, and blue. By varying the intensity of each primary color, you can create almost any color. Yellow, magenta, cyan, and white are produced by adding the three primary colors.
  • 29. Each color is represented by a triplet of numbers, called an RGB triplet, based on the strength of its Red, Green, and Blue. rgb (red, green, blue) where red, green, blue are the intensity values of the red, green, and blue components. The intensity values range from 0 (absence of color) to 255 (highest intensity). 2553 (or more than 16.7 million) colors can be defined.
  • 30. Color values can also be entered as hexadecimals in the form: #RedGreenBlue A hexadecimal is a number based on base-16 • hexadecimals include six extra characters: A (for 10), B (for 11), C (for 12), D (for 13), E (for 14), and F (for 15). • 16 is expressed as “#10”, 17 as “#11”, 38 as “#26”, 165 as “#A5”, and 255 as “FF” in hexadecimal format.
  • 31.
  • 32.
  • 33. <html> <head> </head> <body bgcolor="yellow"> <h1>body background color is yellow</h1> </body></html>
  • 34. <html> <head></head> <body bgcolor="yellow"> <h1>body background color is yellow</h1> <h2><font color=red>Font color is red</font></h2> </body></html>
  • 35. • HTML Forms are used to select different kinds of user input. • HTML forms are used to pass data to a server. • An HTML form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. A form can also contain select lists, textarea, fieldset, legend, and label elements. • Syntax: <form> .input elements .</form>
  • 36. The most important form element is the <input> element. The <input> element is used to select user information. An <input> element can vary in many ways, depending on the type attribute. An <input> element can be of type text field, checkbox, password, radio button, submit button, and more.
  • 37. Defines one line input field where user can enter text. Syntax: <form> First name: <input type="text“ name="firstname"><br> Last name: <input type="text" name="lastname"> </form> Output: First name: Last name:
  • 38. Password defines a password field. <input type=“password”> The text entered in the textfield will view as *******. Syntax: Password:<input type =“password” name=“ password”> OUTPUT: Password: *********
  • 39. Radio buttons let a user select ONLY ONE of a limited number of choices. <input type="radio"> defines a radio button. Syntax: <form> <input type="radio" name=“gender" value="male">Male<br> <input type="radio" name=“gender" value="female">Female </form> Output: Male Female
  • 40. Checkboxes let a user select ZERO or MORE options of a limited number of choices. <input type="checkbox"> defines a checkbox. Syntax: <form> <input type="checkbox" name="vehicle" value="Bike">I have a bike<br> <input type="checkbox" name="vehicle" value="Car">I have a car </form> Output: I have a bike I have a bike
  • 41. A submit button is used to send form data to a server. The data is sent to the page specified in the form's action attribute. T The file defined in the action attribute usually does something with the received input. <input type="submit"> defines a submit button.  TYPE: submit.  NAME: value used by the CGI (common gateway interface)script for processing.  VALUE: determines the text label on the button, usually Submit Query. CGI: External program use standard input and output for data exchange.
  • 42. Syntax: <form name="input" action="demo" method="get"> Username: <input type="text" name="user"> Password:<input type=“password” name=“pass”> <input type="submit“ value=“submit” > </form> Output:
  • 43. It allows the surfer to clear all the input in the form. For reset give <input type=“reset”> The browser display reset button.
  • 44. Let a user select one or more choices from limited number of options. The <select> element is used to create a drop-down list. The <option>tags inside the <select> element define the available options in the list. Syntax: <html> <body> <select> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value=“fiat">Fiat</option> <option value="audi">Audi</option> </select> </body> </html>
  • 45. To select multiple options. <SELECT NAME="ComputerType" size=5 multiple> <OPTION value="IBM" > IBM</OPTION> <OPTION value="INTEL"> INTEL</OPTION> <OPTION value=" Apple"> Apple</OPTION> <OPTION value="Compaq" SELECTED> Compaq</OPTION> <OPTION value=" other"> Other</OPTION> </SELECT>
  • 46. The <textarea> tag defines a multi-line text input control. The size of a text area can be specified by the cols and rows attributes, or even better; through CSS' height and width properties. <syntax: <html> <body> <textarea rows="10" cols="30"> </textarea> </body> </html> output
  • 47.
  • 48. It is a way to divide the content from the layout on web pages. CSS gives style to every content in your page. How it works: A style is a definition of fonts ,colors, style, height, width, margin etc. Each style has a unique name: a selector. The selectors and their styles are defined in one place.
  • 49. In your HTML contents you simply refer to the selectors whenever you want to activate a certain style. There are three types of selectors: Tag(HTML) selectors - Used to define styles associated to HTML tags. (A way to redefine the look of tags) Class selectors - Used to define styles that can be used without redefining plain HTML tags. ID selectors - Used to define styles relating to objects with a unique ID (most often layers)
  • 50. Define the look of your pages in one place rather than repeating yourself over and over again throughout your site. (Ever get tired of defining colors and fonts each time you start a new cell in a table? Those days are over with CSS!) Easily change the look of your pages even after they're created. Since the styles are defined in one place you can change the look of the entire site at once. (Ever get tired of replacing tags throughout your site when you want to change the look of a certain element? Those days are over with CSS!) Define font sizes and similar attributes with the same accuracy as you have with a word processor - not being limited to just the seven different font sizes defined in HTML. Position the content of your pages with pixel precision. Redefine entire HTML tags. Say for example, if you wanted the bold tag to be red using a special font - this can be done easily with CSS. Define customized styles for links - such as getting rid of the underline. Define layers that can be positioned on top of each other (often used for menus that pop up).