SlideShare una empresa de Scribd logo
1 de 23
Introduction to 
HTML 
HAMEDA HURMAT
Definitions 
W W W – World Wide Web. 
HTML – Hypertext Markup Language – The Language of 
Web Pages on the World Wide Web. 
HTML is a text formatting language. 
URL – Uniform Resource Locator. 
Browser – A software program which is used to show web 
pages.
What is HTML? 
Hypertext Markup Language. 
HTML is a computer language that is use to create documents on the Word Wide Web. 
HTML is very simple , and logical. It reads from left to right, top to bottom and uses plain text. 
HTML is NOT a programming language, but a markup-up language that uses <Tags> like this. 
The websites you view on the internet are actually text files that consist of HTML Tags.
HTML Issues for Organizations 
Why the need to know HTML code? 
WYDIWG( What You See Is What You Get) editors like ( Front Page and Dreamweaver) create 
program-specific code that is incomprehensible to other programs and may not be displayed 
correctly on all browsers or all operating System 
You cannot edit them if you don’t have the original software, Or know enough about HTML and 
how it works to be able to make small edits your self 
Company Intranets mostly use HTML 
HTML is now also use in email and in email marketing 
HTML is increasingly used as the basis of standalone applications that use a GUI
Advantages of knowing HTML code 
New technologies start out as code without tools 
 HTML(early days), JavaScript, Java, ASP, XML 
Even if you use WYSIWYG editors, it helps to know HTML code to insert ASP or JavaScript into a 
HTML file 
If you can read code, you can copy clever idea from others( within reason and the law). 
Go to any web page, click on “view” “page source “or "source” and the HTML code used to 
create that web page can be studied or just copied 
Web authoring tools don’t give as much control 
 Most web professional web designers use HTML
Write HTML Using Notepad or TextEdit 
HTML can be edited by using a professional HTML editor like: 
 Adobe Dreamweaver 
 Microsoft Expression Web 
 CoffeeCup HTML Editor 
However, for learning HTML we recommend a text editor like Notepad (PC) or TextEdit 
(Mac). 
We believe using a simple text editor is a good way to learn HTML. 
Follow the 4 steps below to create your first web page with Notepad. 
Click Start (bottom left on your screen). Click All Programs. Click Accessories. Click Notepad.
“Normal text” surrounded by bracketed tags that 
tell browsers how to display web pages 
Pages end with “.htm” or “.html” 
HTML Editor – A word processor that has been 
specialized to make the writing of HTML documents 
more effortless.
TAGS 
HTML markup tags are usually called HTML tags 
HTML tags are keywords surrounded by angle brackets like <html> 
HTML tags normally come in pairs like <b> and </b> 
The first tag in a pair is the start tag, the second tag is the end tag 
Start and end tags are also called opening tags and closing tags
TAGS 
Codes enclosed in brackets 
Usually paired 
<TITLE>My Web Page</TITLE> 
Not case sensitive 
<TITLE> = <title> = <TITLE>
Creating a Basic Starting Document 
<HTML> 
<HEAD> 
<TITLE>Sharq University</TITLE> 
</HEAD> 
<BODY> 
This is what is displayed. 
</BODY> 
</HTML>
Co… 
The HEAD of your document point to above window 
part. The TITLE of your document appears in the very 
top line of the user’s browser. If the user chooses to 
“Bookmark” your page or save as a “Favorite”; it is 
the TITLE that is added to the list. 
The text in your TITLE should be as descriptive as 
possible because this is what many search engines, 
on the internet, use for indexing your site.
Setting Document Properties 
Document properties are controlled by 
attributes of the BODY element. For 
example, there are color settings for the 
background color of the page, the 
document’s text and different states of 
links.
Headings, <Hx> </Hx> 
Inside the BODY element, heading elements H1 through H6 are generally used 
for major divisions of the document. Headings are permitted to appear in any 
order, but you will obtain the best results when your documents are displayed in 
a browser if you follow these guidelines: 
H1: should be used as the highest level of heading, H2 as the next highest, and 
so forth. 
You should not skip heading levels: e.g., an H3 should not appear after an H1, 
unless there is an H2 between them.
<HTML> 
<HEAD> 
<TITLE> Example Page</TITLE> 
</HEAD> 
<BODY> 
<H1> Heading 1 </H1> 
<H2> Heading 2 </H2> 
<H3> Heading 3 </H3> 
<H4> Heading 4 </H4> 
<H5> Heading 5 </H5> 
<H6> Heading 6 </H6> 
</BODY> 
</HTML> 
Heading 1 
Heading 2 
Heading 3 
Heading 4 
Heading 5 
Heading 6
Paragraphs, <P> </P> 
Paragraphs allow you to add text to a document in such a way that it 
will automatically adjust the end of line to suite the window size of 
the browser in which it is being displayed. Each line of text will 
stretch the entire length of the window.
<HTML><HEAD> 
<TITLE> Example Page</TITLE> 
</HEAD> 
<BODY></H1> Heading 1 </H1> 
<P> Paragraph 1, ….</P> 
<H2> Heading 2 </H2> 
<P> Paragraph 2, ….</P> 
<H3> Heading 3 </H3> 
<P> Paragraph 3, ….</P> 
<H4> Heading 4 </H4> 
<P> Paragraph 4, ….</P> 
<H5> Heading 5 </H5> 
<P> Paragraph 5, ….</P> 
<H6> Heading 6</H6> 
<P> Paragraph 6, ….</P> 
</BODY></HTML> 
Heading 1 
Paragraph 1,…. 
Heading 2 
Paragraph 2,…. 
Heading 3 
Paragraph 3,…. 
Heading 4 
Paragraph 4,…. 
Heading 5 
Paragraph 5,…. 
Heading 6 
Paragraph 6,….
Break, <BR> 
Line breaks allow you to decide where the text will 
break on a line or continue to the end of the window. 
A <BR> is an empty Element, meaning that it may 
contain attributes but it does not contain content. 
The <BR> element does not have a closing tag.
<HTML> 
<HEAD> 
<TITLE> Example Page</TITLE> 
</HEAD> 
<BODY> 
<H1> Heading 1 </H1> 
<P>Paragraph 1, <BR> 
Line 2 <BR> Line 3 <BR>…. 
</P> 
</BODY> 
</HTML> 
Heading 1 
Paragraph 1,…. 
Line 2 
Line 3 
….
Horizontal Rule, <HR> 
The <HR> element causes the browser to display a 
horizontal line (rule) in your document. 
<HR> does not use a closing tag, </HR>
Attribute Description Default Value 
SIZE Height of the rule in pixels 2 pixels 
WIDTH 
Width of the rule in pixels 
or percentage of screen 
width 
100% 
ALIGN 
Aligns the line (Left, 
Center, Right) 
Center 
COLOR 
Sets a color for the rule (IE 
3.0 or later) 
Not set
HTML Text Formatting Elements 
The HTML <b> element defines bold text, without any extra importance 
The HTML <strong> element defines strong text, with added semantic importance. 
The HTML <i> element defines italic text, without any extra importance. 
The HTML <em> element defines emphasized text, with added semantic importance. 
The HTML <mark> element defines marked or highlighted text. 
The HTML <del> element defines deleted (removed) of text. 
The HTML <ins> element defines inserted (added) text. 
The HTML <sub> element defines subscripted text. 
The HTML <sup> element defines superscripted text.
Tag Description 
<b> Defines bold text 
<big> Defines big text 
<em> Defines emphasized text 
<i> Defines italic text 
<small> Defines small text 
<strong> Defines strong text 
<sub> Defines subscripted text 
<sup> Defines superscripted text 
<ins> Defines inserted text 
<del> Defines deleted text 
<s> Deprecated. Use <del> instead 
<strike> Deprecated. Use <del> instead 
<u> Deprecated. Use styles instead
Thank You

Más contenido relacionado

La actualidad más candente (20)

Intro to HTML and CSS basics
Intro to HTML and CSS basicsIntro to HTML and CSS basics
Intro to HTML and CSS basics
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Html form tag
Html form tagHtml form tag
Html form tag
 
Javascript basics
Javascript basicsJavascript basics
Javascript basics
 
HTML
HTMLHTML
HTML
 
HTML
HTMLHTML
HTML
 
Js ppt
Js pptJs ppt
Js ppt
 
Html coding
Html codingHtml coding
Html coding
 
Html presentation
Html presentationHtml presentation
Html presentation
 
Html
HtmlHtml
Html
 
Html5 semantics
Html5 semanticsHtml5 semantics
Html5 semantics
 
Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)Cascading Style Sheet (CSS)
Cascading Style Sheet (CSS)
 
Intro Html
Intro HtmlIntro Html
Intro Html
 
Advanced Cascading Style Sheets
Advanced Cascading Style SheetsAdvanced Cascading Style Sheets
Advanced Cascading Style Sheets
 
HTML (Web) basics for a beginner
HTML (Web) basics for a beginnerHTML (Web) basics for a beginner
HTML (Web) basics for a beginner
 
Html Slide Part-1
Html Slide Part-1Html Slide Part-1
Html Slide Part-1
 
Hyperlinks in HTML
Hyperlinks in HTMLHyperlinks in HTML
Hyperlinks in HTML
 
Images and Lists in HTML
Images and Lists in HTMLImages and Lists in HTML
Images and Lists in HTML
 
Basic html
Basic htmlBasic html
Basic html
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 

Destacado

HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginnersjeroenvdmeer
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmlvikasgaur31
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLMayaLisa
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLAmeer Khan
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLAnn Alcid
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introductionc525600
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to htmleShikshak
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLOlivia Moran
 
JavaScript Presentation Frameworks and Libraries
JavaScript Presentation Frameworks and LibrariesJavaScript Presentation Frameworks and Libraries
JavaScript Presentation Frameworks and LibrariesOleksii Prohonnyi
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLAmit Tyagi
 
Fundamental JavaScript [UTC, March 2014]
Fundamental JavaScript [UTC, March 2014]Fundamental JavaScript [UTC, March 2014]
Fundamental JavaScript [UTC, March 2014]Aaron Gustafson
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to JavascriptAmit Tyagi
 
JavaScript - An Introduction
JavaScript - An IntroductionJavaScript - An Introduction
JavaScript - An IntroductionManvendra Singh
 
JavaScript Programming
JavaScript ProgrammingJavaScript Programming
JavaScript ProgrammingSehwan Noh
 
Top Tips For Working Smarter
Top Tips For Working SmarterTop Tips For Working Smarter
Top Tips For Working SmarterInterQuest Group
 
10 Practical Ways to Be More Efficient at Work
10 Practical Ways to Be More Efficient at Work10 Practical Ways to Be More Efficient at Work
10 Practical Ways to Be More Efficient at WorkWeekdone.com
 

Destacado (20)

HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
1. HTML
1. HTML1. HTML
1. HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
HTML Introduction
HTML IntroductionHTML Introduction
HTML Introduction
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
 
JavaScript Presentation Frameworks and Libraries
JavaScript Presentation Frameworks and LibrariesJavaScript Presentation Frameworks and Libraries
JavaScript Presentation Frameworks and Libraries
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Fundamental JavaScript [UTC, March 2014]
Fundamental JavaScript [UTC, March 2014]Fundamental JavaScript [UTC, March 2014]
Fundamental JavaScript [UTC, March 2014]
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
 
Java script ppt
Java script pptJava script ppt
Java script ppt
 
Introduction to Javascript
Introduction to JavascriptIntroduction to Javascript
Introduction to Javascript
 
JavaScript - An Introduction
JavaScript - An IntroductionJavaScript - An Introduction
JavaScript - An Introduction
 
Html Ppt
Html PptHtml Ppt
Html Ppt
 
JavaScript Programming
JavaScript ProgrammingJavaScript Programming
JavaScript Programming
 
Top Tips For Working Smarter
Top Tips For Working SmarterTop Tips For Working Smarter
Top Tips For Working Smarter
 
10 Practical Ways to Be More Efficient at Work
10 Practical Ways to Be More Efficient at Work10 Practical Ways to Be More Efficient at Work
10 Practical Ways to Be More Efficient at Work
 

Similar a HTML Introduction (20)

HTML Presentation
HTML Presentation HTML Presentation
HTML Presentation
 
presentation_html_ppt_1534512076_351187.pptx
presentation_html_ppt_1534512076_351187.pptxpresentation_html_ppt_1534512076_351187.pptx
presentation_html_ppt_1534512076_351187.pptx
 
Html
HtmlHtml
Html
 
Over view of html
Over view of htmlOver view of html
Over view of html
 
Html Workshop
Html WorkshopHtml Workshop
Html Workshop
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html basics
Html basicsHtml basics
Html basics
 
HTML.pptx
HTML.pptxHTML.pptx
HTML.pptx
 
902350 html jar
902350 html jar902350 html jar
902350 html jar
 
Html basics
Html basicsHtml basics
Html basics
 
WDD
WDDWDD
WDD
 
Html basics NOTE
Html basics NOTEHtml basics NOTE
Html basics NOTE
 
Html 5
Html 5Html 5
Html 5
 
Html basics
Html basicsHtml basics
Html basics
 
Html basic file
Html basic fileHtml basic file
Html basic file
 
Html basics
Html basicsHtml basics
Html basics
 
Html BASICS
Html BASICSHtml BASICS
Html BASICS
 
Html basics 1
Html basics 1Html basics 1
Html basics 1
 
Html basics
Html basicsHtml basics
Html basics
 
Html basics
Html basicsHtml basics
Html basics
 

Más de Hameda Hurmat

13 DHCP Configuration in Linux
13 DHCP Configuration in Linux13 DHCP Configuration in Linux
13 DHCP Configuration in LinuxHameda Hurmat
 
10 implementing GPOs
10 implementing GPOs10 implementing GPOs
10 implementing GPOsHameda Hurmat
 
Administer Active Directory
Administer Active DirectoryAdminister Active Directory
Administer Active DirectoryHameda Hurmat
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCPHameda Hurmat
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IPHameda Hurmat
 
4. install and configure hyper v
4. install and configure hyper v4. install and configure hyper v
4. install and configure hyper vHameda Hurmat
 
3 configuring basic and dynamic disks
3 configuring basic and dynamic disks3 configuring basic and dynamic disks
3 configuring basic and dynamic disksHameda Hurmat
 
2 introduction of storage
2 introduction of storage2 introduction of storage
2 introduction of storageHameda Hurmat
 
1 introduction to windows server 2016
1  introduction to windows server 20161  introduction to windows server 2016
1 introduction to windows server 2016Hameda Hurmat
 
12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OSHameda Hurmat
 

Más de Hameda Hurmat (20)

15 Setup BIND 9
15 Setup BIND 915 Setup BIND 9
15 Setup BIND 9
 
14 FILE Server
14 FILE Server14 FILE Server
14 FILE Server
 
13 DHCP Configuration in Linux
13 DHCP Configuration in Linux13 DHCP Configuration in Linux
13 DHCP Configuration in Linux
 
11-IIS server 2016
11-IIS server 201611-IIS server 2016
11-IIS server 2016
 
10 implementing GPOs
10 implementing GPOs10 implementing GPOs
10 implementing GPOs
 
Administer Active Directory
Administer Active DirectoryAdminister Active Directory
Administer Active Directory
 
Active Directory
Active DirectoryActive Directory
Active Directory
 
7 understanding DNS
7 understanding DNS7 understanding DNS
7 understanding DNS
 
6 understanding DHCP
6 understanding DHCP6 understanding DHCP
6 understanding DHCP
 
5 configuring TCP/IP
5 configuring TCP/IP5 configuring TCP/IP
5 configuring TCP/IP
 
4. install and configure hyper v
4. install and configure hyper v4. install and configure hyper v
4. install and configure hyper v
 
3 configuring basic and dynamic disks
3 configuring basic and dynamic disks3 configuring basic and dynamic disks
3 configuring basic and dynamic disks
 
2 introduction of storage
2 introduction of storage2 introduction of storage
2 introduction of storage
 
1 introduction to windows server 2016
1  introduction to windows server 20161  introduction to windows server 2016
1 introduction to windows server 2016
 
12 introduction to Linux OS
12 introduction to Linux OS12 introduction to Linux OS
12 introduction to Linux OS
 
Flowers Album
Flowers AlbumFlowers Album
Flowers Album
 
Change management
Change managementChange management
Change management
 
ویندو7
ویندو7ویندو7
ویندو7
 
Interview skill
Interview skillInterview skill
Interview skill
 
Waste management
Waste managementWaste management
Waste management
 

Último

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
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
 
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
 
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
 
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
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
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
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
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
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 

Último (20)

Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
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
 
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
 
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
 
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!
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
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
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
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
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 

HTML Introduction

  • 1. Introduction to HTML HAMEDA HURMAT
  • 2. Definitions W W W – World Wide Web. HTML – Hypertext Markup Language – The Language of Web Pages on the World Wide Web. HTML is a text formatting language. URL – Uniform Resource Locator. Browser – A software program which is used to show web pages.
  • 3. What is HTML? Hypertext Markup Language. HTML is a computer language that is use to create documents on the Word Wide Web. HTML is very simple , and logical. It reads from left to right, top to bottom and uses plain text. HTML is NOT a programming language, but a markup-up language that uses <Tags> like this. The websites you view on the internet are actually text files that consist of HTML Tags.
  • 4. HTML Issues for Organizations Why the need to know HTML code? WYDIWG( What You See Is What You Get) editors like ( Front Page and Dreamweaver) create program-specific code that is incomprehensible to other programs and may not be displayed correctly on all browsers or all operating System You cannot edit them if you don’t have the original software, Or know enough about HTML and how it works to be able to make small edits your self Company Intranets mostly use HTML HTML is now also use in email and in email marketing HTML is increasingly used as the basis of standalone applications that use a GUI
  • 5. Advantages of knowing HTML code New technologies start out as code without tools  HTML(early days), JavaScript, Java, ASP, XML Even if you use WYSIWYG editors, it helps to know HTML code to insert ASP or JavaScript into a HTML file If you can read code, you can copy clever idea from others( within reason and the law). Go to any web page, click on “view” “page source “or "source” and the HTML code used to create that web page can be studied or just copied Web authoring tools don’t give as much control  Most web professional web designers use HTML
  • 6. Write HTML Using Notepad or TextEdit HTML can be edited by using a professional HTML editor like:  Adobe Dreamweaver  Microsoft Expression Web  CoffeeCup HTML Editor However, for learning HTML we recommend a text editor like Notepad (PC) or TextEdit (Mac). We believe using a simple text editor is a good way to learn HTML. Follow the 4 steps below to create your first web page with Notepad. Click Start (bottom left on your screen). Click All Programs. Click Accessories. Click Notepad.
  • 7. “Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm” or “.html” HTML Editor – A word processor that has been specialized to make the writing of HTML documents more effortless.
  • 8. TAGS HTML markup tags are usually called HTML tags HTML tags are keywords surrounded by angle brackets like <html> HTML tags normally come in pairs like <b> and </b> The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags
  • 9. TAGS Codes enclosed in brackets Usually paired <TITLE>My Web Page</TITLE> Not case sensitive <TITLE> = <title> = <TITLE>
  • 10. Creating a Basic Starting Document <HTML> <HEAD> <TITLE>Sharq University</TITLE> </HEAD> <BODY> This is what is displayed. </BODY> </HTML>
  • 11. Co… The HEAD of your document point to above window part. The TITLE of your document appears in the very top line of the user’s browser. If the user chooses to “Bookmark” your page or save as a “Favorite”; it is the TITLE that is added to the list. The text in your TITLE should be as descriptive as possible because this is what many search engines, on the internet, use for indexing your site.
  • 12. Setting Document Properties Document properties are controlled by attributes of the BODY element. For example, there are color settings for the background color of the page, the document’s text and different states of links.
  • 13. Headings, <Hx> </Hx> Inside the BODY element, heading elements H1 through H6 are generally used for major divisions of the document. Headings are permitted to appear in any order, but you will obtain the best results when your documents are displayed in a browser if you follow these guidelines: H1: should be used as the highest level of heading, H2 as the next highest, and so forth. You should not skip heading levels: e.g., an H3 should not appear after an H1, unless there is an H2 between them.
  • 14. <HTML> <HEAD> <TITLE> Example Page</TITLE> </HEAD> <BODY> <H1> Heading 1 </H1> <H2> Heading 2 </H2> <H3> Heading 3 </H3> <H4> Heading 4 </H4> <H5> Heading 5 </H5> <H6> Heading 6 </H6> </BODY> </HTML> Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Heading 6
  • 15. Paragraphs, <P> </P> Paragraphs allow you to add text to a document in such a way that it will automatically adjust the end of line to suite the window size of the browser in which it is being displayed. Each line of text will stretch the entire length of the window.
  • 16. <HTML><HEAD> <TITLE> Example Page</TITLE> </HEAD> <BODY></H1> Heading 1 </H1> <P> Paragraph 1, ….</P> <H2> Heading 2 </H2> <P> Paragraph 2, ….</P> <H3> Heading 3 </H3> <P> Paragraph 3, ….</P> <H4> Heading 4 </H4> <P> Paragraph 4, ….</P> <H5> Heading 5 </H5> <P> Paragraph 5, ….</P> <H6> Heading 6</H6> <P> Paragraph 6, ….</P> </BODY></HTML> Heading 1 Paragraph 1,…. Heading 2 Paragraph 2,…. Heading 3 Paragraph 3,…. Heading 4 Paragraph 4,…. Heading 5 Paragraph 5,…. Heading 6 Paragraph 6,….
  • 17. Break, <BR> Line breaks allow you to decide where the text will break on a line or continue to the end of the window. A <BR> is an empty Element, meaning that it may contain attributes but it does not contain content. The <BR> element does not have a closing tag.
  • 18. <HTML> <HEAD> <TITLE> Example Page</TITLE> </HEAD> <BODY> <H1> Heading 1 </H1> <P>Paragraph 1, <BR> Line 2 <BR> Line 3 <BR>…. </P> </BODY> </HTML> Heading 1 Paragraph 1,…. Line 2 Line 3 ….
  • 19. Horizontal Rule, <HR> The <HR> element causes the browser to display a horizontal line (rule) in your document. <HR> does not use a closing tag, </HR>
  • 20. Attribute Description Default Value SIZE Height of the rule in pixels 2 pixels WIDTH Width of the rule in pixels or percentage of screen width 100% ALIGN Aligns the line (Left, Center, Right) Center COLOR Sets a color for the rule (IE 3.0 or later) Not set
  • 21. HTML Text Formatting Elements The HTML <b> element defines bold text, without any extra importance The HTML <strong> element defines strong text, with added semantic importance. The HTML <i> element defines italic text, without any extra importance. The HTML <em> element defines emphasized text, with added semantic importance. The HTML <mark> element defines marked or highlighted text. The HTML <del> element defines deleted (removed) of text. The HTML <ins> element defines inserted (added) text. The HTML <sub> element defines subscripted text. The HTML <sup> element defines superscripted text.
  • 22. Tag Description <b> Defines bold text <big> Defines big text <em> Defines emphasized text <i> Defines italic text <small> Defines small text <strong> Defines strong text <sub> Defines subscripted text <sup> Defines superscripted text <ins> Defines inserted text <del> Defines deleted text <s> Deprecated. Use <del> instead <strike> Deprecated. Use <del> instead <u> Deprecated. Use styles instead