SlideShare a Scribd company logo
1 of 45
Developing Websites 1
Developing Websites 1
• Introduction to Web Development
• Web Development Tools
• Website Coding Technologies
• Basic Websites with HTML
• Webpage Structure
• Webpage Components
• Webpage Design Guidelines
• Publishing a Website
2
Developing Websites 1
• Readings
• Focus On: Web Development (all)
Vermaat et al. (2018). Discovering Computers 2018: Digital
Technology, Data, and Devices. CENGAGE Learning.
3
Developing Websites 1
• Introduction to Web Development
• Web Development Tools
• Website Coding Technologies
• Basic Websites with HTML
• Webpage Structure
• Webpage Components
• Webpage Design Guidelines
• Publishing a Website
4
Introduction to Web Development
• Collections of related webpages and associated items
on the World Wide Web
• Formatted text, layouts, & links
• Graphics, audio, & video
5
(Vermaat et al, 2018)
Introduction to Web Development
6
https://www.mockplus.com/
• Frontend:
building everything a user
can see on the screen
• Backend:
server-side architecture,
and database management
Introduction to Web Development
• Simplified steps:
• Developed with tools
• Hosted on web servers
• Transmitted via the Internet (or an Intranet)
• Requested & viewed via web browsers/apps
7
(Vermaat et al, 2018)
Developing Websites 1
• Introduction to Websites
• Web Development Tools
• Website Coding Technologies
• Basic Websites with HTML
• Webpage Structure
• Webpage Components
• Webpage Design Guidelines
• Publishing a Website
8
Web Development Tools (frontend)
• Text Editors
• Notepad++
• TextWrangler (for MacOS)
• Sublime (windows, MacOS, Linux)
• Integrated Development Environments (IDEs)
• Netbeans
• Visual Studio Code
• Web Authoring Tools
• Dreamweaver
• Photoshop
• Content Management Systems
• Web publishing for large sites (e.g. Wordpress)
9
Web Development Tools (frontend)
10 (Vermaat et al, 2018)
Web Development Tools (frontend)
• Code Validators
• W3C (validator.w3.org)
• Ensures
• Code syntax is correct
• Corresponding start &
end tags in order
11
Developing Websites 1
• Introduction to Websites
• Web Development Tools
• Website Coding Technologies
• Basic Websites with HTML
• Webpage Structure
• Webpage Components
• Webpage Design Guidelines
• Publishing a Website
12
Website Coding Technologies
• Hypertext Markup Language (HTML)
• Uses a set of codes called tags to format documents for
display in a browser
• Cascading Style Sheets (CSS)
• Contains specifications for the fonts, colours, layout, and
placement of HTML elements
• JavaScript
• Programming language for programs that a browser can
run make a website more dynamic
13
https://sweetcode.io/
Website Coding Technologies
14 https://html-css-js.com/
Developing Websites 1
• Introduction to Websites
• Web Development Tools
• Website Coding Technologies
• Basic Websites with HTML
• Webpage Structure
• Webpage Components
• Webpage Design Guidelines
• Publishing a Website
15
Basic Websites with HTML
16 (Vermaat et al, 2018)
HTML History
HTML is an evolving language.
• HTML 1.0 (1993) - a way to electronically connect documents via
hyperlinks
• HTML 2.0 (1995) - developed by Internet Engineering Task Force RFC
to include stylized text , tables and many other core HTML features.
• HTML 3.0 (abandoned) - the browsers were awfully slow in
implementing any of the new improvements, only adding in a few
and leaving out the rest.
• HTML 3.2 (1997) – developed by W3C and included browser specific
features.
• HTML 4.01 (1999) - a large evolution of the HTML standards.
Support for HTML’s new supporting presentational language,
cascading stylesheets (CSS).
• HTML 5 (2014) - designed for the web, both now and in the future,
plenty of new elements, attributes and abilities to get excited about.
17
Developing Websites 1
• Introduction to Websites
• Web Development Tools
• Website Coding Technologies
• Basic Websites with HTML
• Webpage Structure
• Webpage Components
• Webpage Design Guidelines
• Publishing a Website
18
Webpage Structure
• HTML is built on the Document Object Model [DOM]
• A web page consists of elements that indicate to the
browser the structure of the web page.
19
https://www.coursera.org
Webpage Structure
• A webpage’s source code contains text marked up
with HTML tags that instruct a browser how to display
that content
• Three parts of a well-formed document
• Doctype: Version of HTML that you will be using
• Head: Meta data
• Body: Displayable content
20
Webpage Structure
• Doctype
• HTML5: <!DOCTYPE html>
• <!DOCTYPE html PUBLIC "-//W3C//DTD XTML 4.01 Transitional//EN"
“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
(Previous versions dictated backwards compatibility)
• Head
• Additional information used by the browser
• Meta data – language, font
• Supporting files – JavaScript, Styling, Add-ons
• Other than title, meta data is not displayed
• Body
• Bulk of your page
• Important to write well-formatted (tree-like) code
• Most of the content is displayed by the browser, but there may be
some meta data too
21
Developing Websites 1
• Introduction to Websites
• Web Development Tools
• Website Coding Technologies
• Basic Websites with HTML
• Webpage Structure
• Webpage Components
• Webpage Design Guidelines
• Publishing a Website
22
Webpage Components
• Each tag is enclosed by < > symbols.
• Most elements are two-sided, they have opening and closing tags
A / is used to indicate the closing tag.
• Some tags are one-sided (empty tags).
• e.g. <br /> and <hr />.
• A tag may include attributes that modify the behaviour of the element.
23
Webpage Components
• Headings
• Paragraphs
• <p>Write each paragraph within tags.</p>
• New lines in code are ignored (force with <br/>)
24
(Vermaat et al, 2018)
Webpage Components
• Format tags
• <strong>Bold</strong>
• <em>Italic</em> (emphasis)
• Preformatted tag
• The text enclosed in the pre element usually preserves
spaces and line breaks. The text renders in a fixed-pitch
font.
• Whereas when using the paragraph element (<p> ... </p>)
multiple white space characters (spaces, tabs or end-of-
lines) are reduced to a single space.
• Example:
25
Webpage Components
• Lists
• Unordered list: produces an indented, bulleted list.
• Ordered list: produces an indented list items in order, usually 1, 2, 3 etc
• Definition list: produces an indented list with terms and their
definitions.
26 (Vermaat et al, 2018)
Webpage Components
• Nested Lists
• Nested lists are lists within lists
• The outer list is not closed off until the inner list is
complete
• Different types of listed can be nested. e.g. unordered list
inside ordered list
27
Webpage Components
Tables
• Tables can contain anything you can put into an HTML document e.g. text, graphics, videos, and even
nested tables.
• Some tables can be used to simulate multicolumn layouts
• Caption Element (caption)
• A caption gives a brief summary of the tables contents.
<caption> caption-text </caption>
• Table Header Cell (th element)
• Used for column or row headings if desired
<th> cell-content </th>
• Row Element (tr)
• The row may contain <th> and <td> cell elements.
<tr> ... </tr>
• Table Data Cell (td element)
• Table Data cell
<td> cell-content </td>
28
Webpage Components
Tables (Cont.)
• Example 1:
29
Webpage Components
Tables (Cont.)
• colspan & rowspan
• Data cell attribute:
the cell spans a number of columns & rows
<td colspan="2"> ...</td>
<td rowspan="3"> ...</td>
• Border Attribute:
• Attribute value is in pixels (units are not required) e.g. border="1". The default is 1.
• Width Attribute :
• Specify the width of the table in pixels (width="200") or as a percentage of the browser width
(width="75%")
• If no width is specified, the table is as wide as necessary for its contents (limited by page size, margins
etc).
30
Webpage Components
Tables (Cont.)
• Example 2
31
Webpage Components
• Images
• The <img> tag inserts an image into the document's normal
text flow.
• Commonly used file formats are: JPG, PNG, GIF
• The image element has no closing tag.
• Images are displayed within some other elements such as
a paragraph <p>, list element <li>or table data cell <td>.
Example:
32
Webpage Components
Image Attributes
• Src (compulsory):
• The URI/filename of image file. e.g.
• src="buster.jpg"
src="http://www.somewhere.com/smiley.gif"
• alt (compulsory):
• Alternative descriptive text for the image.
• width & height (recommended ):
• The width and height of the image are specified in pixels or as a percentage.
• width = n image width in pixels e.g. width="500“
• height = n image height in pixels e.g. height="350“
• width= n% height= n% where n is the width given as a percentage of the available browser
window width e.g. width=80%
33
Webpage Components
• Hyperlinks - Anchor Tag
• Hyperlinks are made using the anchor tag pair, <a> and </a>.
• The href (hypertext reference/link) attribute specifies the URI
(Uniform Resource Identifiers) of the page (or mail address etc).
An anchor must be within another element such as <p> ... </p>
or <h1> ... </h1>
• Use forward slashes (/) to specify directories (folders) NOT
backslashes ().
• Spaces in file or folder names are not recommended as some
browsers may have trouble with them
34
Webpage Components
• Hyperlinks - Anchor Tag (Cont.)
Examples:
1.
Would be displayed as:
2.
Would be displayed as:
35
Webpage Components
• Format tags
• <strong>Bold</strong>
• <em>Italic</em> (emphasis)
• Horizontal rule (separator line)
• <hr/>
• Comments
• <!-- my comments -->
• Special characters
• Used for coding
36
Webpage Components
• Styles (early look at CSS – next week)
• Color (256 bit)
• <p style="color:red">red</p> (named)
• <p style="color:#000080">blue</p> (RGB hex)
• <p style="color:rgb(0,128,0)">green</p> (RGB dec)
Hexadecimal: 16 base numbers (0-9, A-F)
• Dec 0-255 ≡ Hex 00-FF
37
Developing Websites 1
• Introduction to Websites
• Web Development Tools
• Website Coding Technologies
• Basic Websites with HTML
• Webpage Structure
• Webpage Components
• Webpage Design Guidelines
• Publishing a Website
38
Webpage Design Guidelines
• Appeal & clarity
• Aesthetic design & communicates well
• Balance & density
• Appropriate sizing & use of space
• Consistency (across & within pages)
• Layout, color scheme, text size & fonts
• Navigation & links
39
Webpage Design Guidelines
40
Developing Websites 1
• Introduction to Websites
• Web Development Tools
• Website Coding Technologies
• Basic Websites with HTML
• Webpage Structure
• Webpage Components
• Webpage Design Guidelines
• Publishing a Website
41
Publishing a Website
• Make webpages available via a web server
• Copy files to server
• Location mapped to the URL (public_html directory)
• Set permissions for the world to see
• Read permission for files & execute permission for directories
• Open the URL in a web browser
42
Publishing a Website
• Make webpages available via a web server
• Copy files to server
43
Publishing a Website
• Make webpages available via a web server
• Set permissions for the world to see
• Read permission for files & execute permission for directories
44
Publishing a Website
• Make webpages available via a web server
• Open the URL in a web browser
45

More Related Content

Similar to Developing Website.pptx

Html and css presentation
Html and css presentationHtml and css presentation
Html and css presentationumesh patil
 
Web design using html
Web design using htmlWeb design using html
Web design using htmlElsaS7
 
HTML Demo.ppt
HTML Demo.pptHTML Demo.ppt
HTML Demo.pptLimEchYrr
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introductionWeb Concepts - an introduction - introduction
Web Concepts - an introduction - introductionclement swarnappa
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptxMattMarino13
 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.pptssuser568d77
 
Choice of programming language for web developing.
Choice of programming language for web developing.Choice of programming language for web developing.
Choice of programming language for web developing.Mohammad Kamrul Hasan
 
HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxwewit44414
 
Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionMustafa Kamel Mohammadi
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflowPeter Kaizer
 
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02Harshith Rockx
 

Similar to Developing Website.pptx (20)

Html5
Html5 Html5
Html5
 
Html and css presentation
Html and css presentationHtml and css presentation
Html and css presentation
 
Web design using html
Web design using htmlWeb design using html
Web design using html
 
Introduction To HTML
Introduction To HTMLIntroduction To HTML
Introduction To HTML
 
HTML Demo.ppt
HTML Demo.pptHTML Demo.ppt
HTML Demo.ppt
 
Web Concepts - an introduction - introduction
Web Concepts - an introduction - introductionWeb Concepts - an introduction - introduction
Web Concepts - an introduction - introduction
 
BITM3730Week1.pptx
BITM3730Week1.pptxBITM3730Week1.pptx
BITM3730Week1.pptx
 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.ppt
 
Choice of programming language for web developing.
Choice of programming language for web developing.Choice of programming language for web developing.
Choice of programming language for web developing.
 
HTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptxHTML introduction for beginners Slides .pptx
HTML introduction for beginners Slides .pptx
 
Iwt module 1
Iwt  module 1Iwt  module 1
Iwt module 1
 
Font-End Development Tools
Font-End Development ToolsFont-End Development Tools
Font-End Development Tools
 
Web design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introductionWeb design - HTML (Hypertext Markup Language) introduction
Web design - HTML (Hypertext Markup Language) introduction
 
Web design-workflow
Web design-workflowWeb design-workflow
Web design-workflow
 
Html5 ppt
Html5 pptHtml5 ppt
Html5 ppt
 
ppt.ppt
ppt.pptppt.ppt
ppt.ppt
 
Html
HtmlHtml
Html
 
mst_unit1.pptx
mst_unit1.pptxmst_unit1.pptx
mst_unit1.pptx
 
HTML & CSS.ppt
HTML & CSS.pptHTML & CSS.ppt
HTML & CSS.ppt
 
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
Webdesigningandpublishingcomputerstudiestheorylesson 101212054612-phpapp02
 

Recently uploaded

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 

Recently uploaded (20)

Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
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
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 

Developing Website.pptx

  • 2. Developing Websites 1 • Introduction to Web Development • Web Development Tools • Website Coding Technologies • Basic Websites with HTML • Webpage Structure • Webpage Components • Webpage Design Guidelines • Publishing a Website 2
  • 3. Developing Websites 1 • Readings • Focus On: Web Development (all) Vermaat et al. (2018). Discovering Computers 2018: Digital Technology, Data, and Devices. CENGAGE Learning. 3
  • 4. Developing Websites 1 • Introduction to Web Development • Web Development Tools • Website Coding Technologies • Basic Websites with HTML • Webpage Structure • Webpage Components • Webpage Design Guidelines • Publishing a Website 4
  • 5. Introduction to Web Development • Collections of related webpages and associated items on the World Wide Web • Formatted text, layouts, & links • Graphics, audio, & video 5 (Vermaat et al, 2018)
  • 6. Introduction to Web Development 6 https://www.mockplus.com/ • Frontend: building everything a user can see on the screen • Backend: server-side architecture, and database management
  • 7. Introduction to Web Development • Simplified steps: • Developed with tools • Hosted on web servers • Transmitted via the Internet (or an Intranet) • Requested & viewed via web browsers/apps 7 (Vermaat et al, 2018)
  • 8. Developing Websites 1 • Introduction to Websites • Web Development Tools • Website Coding Technologies • Basic Websites with HTML • Webpage Structure • Webpage Components • Webpage Design Guidelines • Publishing a Website 8
  • 9. Web Development Tools (frontend) • Text Editors • Notepad++ • TextWrangler (for MacOS) • Sublime (windows, MacOS, Linux) • Integrated Development Environments (IDEs) • Netbeans • Visual Studio Code • Web Authoring Tools • Dreamweaver • Photoshop • Content Management Systems • Web publishing for large sites (e.g. Wordpress) 9
  • 10. Web Development Tools (frontend) 10 (Vermaat et al, 2018)
  • 11. Web Development Tools (frontend) • Code Validators • W3C (validator.w3.org) • Ensures • Code syntax is correct • Corresponding start & end tags in order 11
  • 12. Developing Websites 1 • Introduction to Websites • Web Development Tools • Website Coding Technologies • Basic Websites with HTML • Webpage Structure • Webpage Components • Webpage Design Guidelines • Publishing a Website 12
  • 13. Website Coding Technologies • Hypertext Markup Language (HTML) • Uses a set of codes called tags to format documents for display in a browser • Cascading Style Sheets (CSS) • Contains specifications for the fonts, colours, layout, and placement of HTML elements • JavaScript • Programming language for programs that a browser can run make a website more dynamic 13 https://sweetcode.io/
  • 14. Website Coding Technologies 14 https://html-css-js.com/
  • 15. Developing Websites 1 • Introduction to Websites • Web Development Tools • Website Coding Technologies • Basic Websites with HTML • Webpage Structure • Webpage Components • Webpage Design Guidelines • Publishing a Website 15
  • 16. Basic Websites with HTML 16 (Vermaat et al, 2018)
  • 17. HTML History HTML is an evolving language. • HTML 1.0 (1993) - a way to electronically connect documents via hyperlinks • HTML 2.0 (1995) - developed by Internet Engineering Task Force RFC to include stylized text , tables and many other core HTML features. • HTML 3.0 (abandoned) - the browsers were awfully slow in implementing any of the new improvements, only adding in a few and leaving out the rest. • HTML 3.2 (1997) – developed by W3C and included browser specific features. • HTML 4.01 (1999) - a large evolution of the HTML standards. Support for HTML’s new supporting presentational language, cascading stylesheets (CSS). • HTML 5 (2014) - designed for the web, both now and in the future, plenty of new elements, attributes and abilities to get excited about. 17
  • 18. Developing Websites 1 • Introduction to Websites • Web Development Tools • Website Coding Technologies • Basic Websites with HTML • Webpage Structure • Webpage Components • Webpage Design Guidelines • Publishing a Website 18
  • 19. Webpage Structure • HTML is built on the Document Object Model [DOM] • A web page consists of elements that indicate to the browser the structure of the web page. 19 https://www.coursera.org
  • 20. Webpage Structure • A webpage’s source code contains text marked up with HTML tags that instruct a browser how to display that content • Three parts of a well-formed document • Doctype: Version of HTML that you will be using • Head: Meta data • Body: Displayable content 20
  • 21. Webpage Structure • Doctype • HTML5: <!DOCTYPE html> • <!DOCTYPE html PUBLIC "-//W3C//DTD XTML 4.01 Transitional//EN" “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> (Previous versions dictated backwards compatibility) • Head • Additional information used by the browser • Meta data – language, font • Supporting files – JavaScript, Styling, Add-ons • Other than title, meta data is not displayed • Body • Bulk of your page • Important to write well-formatted (tree-like) code • Most of the content is displayed by the browser, but there may be some meta data too 21
  • 22. Developing Websites 1 • Introduction to Websites • Web Development Tools • Website Coding Technologies • Basic Websites with HTML • Webpage Structure • Webpage Components • Webpage Design Guidelines • Publishing a Website 22
  • 23. Webpage Components • Each tag is enclosed by < > symbols. • Most elements are two-sided, they have opening and closing tags A / is used to indicate the closing tag. • Some tags are one-sided (empty tags). • e.g. <br /> and <hr />. • A tag may include attributes that modify the behaviour of the element. 23
  • 24. Webpage Components • Headings • Paragraphs • <p>Write each paragraph within tags.</p> • New lines in code are ignored (force with <br/>) 24 (Vermaat et al, 2018)
  • 25. Webpage Components • Format tags • <strong>Bold</strong> • <em>Italic</em> (emphasis) • Preformatted tag • The text enclosed in the pre element usually preserves spaces and line breaks. The text renders in a fixed-pitch font. • Whereas when using the paragraph element (<p> ... </p>) multiple white space characters (spaces, tabs or end-of- lines) are reduced to a single space. • Example: 25
  • 26. Webpage Components • Lists • Unordered list: produces an indented, bulleted list. • Ordered list: produces an indented list items in order, usually 1, 2, 3 etc • Definition list: produces an indented list with terms and their definitions. 26 (Vermaat et al, 2018)
  • 27. Webpage Components • Nested Lists • Nested lists are lists within lists • The outer list is not closed off until the inner list is complete • Different types of listed can be nested. e.g. unordered list inside ordered list 27
  • 28. Webpage Components Tables • Tables can contain anything you can put into an HTML document e.g. text, graphics, videos, and even nested tables. • Some tables can be used to simulate multicolumn layouts • Caption Element (caption) • A caption gives a brief summary of the tables contents. <caption> caption-text </caption> • Table Header Cell (th element) • Used for column or row headings if desired <th> cell-content </th> • Row Element (tr) • The row may contain <th> and <td> cell elements. <tr> ... </tr> • Table Data Cell (td element) • Table Data cell <td> cell-content </td> 28
  • 30. Webpage Components Tables (Cont.) • colspan & rowspan • Data cell attribute: the cell spans a number of columns & rows <td colspan="2"> ...</td> <td rowspan="3"> ...</td> • Border Attribute: • Attribute value is in pixels (units are not required) e.g. border="1". The default is 1. • Width Attribute : • Specify the width of the table in pixels (width="200") or as a percentage of the browser width (width="75%") • If no width is specified, the table is as wide as necessary for its contents (limited by page size, margins etc). 30
  • 32. Webpage Components • Images • The <img> tag inserts an image into the document's normal text flow. • Commonly used file formats are: JPG, PNG, GIF • The image element has no closing tag. • Images are displayed within some other elements such as a paragraph <p>, list element <li>or table data cell <td>. Example: 32
  • 33. Webpage Components Image Attributes • Src (compulsory): • The URI/filename of image file. e.g. • src="buster.jpg" src="http://www.somewhere.com/smiley.gif" • alt (compulsory): • Alternative descriptive text for the image. • width & height (recommended ): • The width and height of the image are specified in pixels or as a percentage. • width = n image width in pixels e.g. width="500“ • height = n image height in pixels e.g. height="350“ • width= n% height= n% where n is the width given as a percentage of the available browser window width e.g. width=80% 33
  • 34. Webpage Components • Hyperlinks - Anchor Tag • Hyperlinks are made using the anchor tag pair, <a> and </a>. • The href (hypertext reference/link) attribute specifies the URI (Uniform Resource Identifiers) of the page (or mail address etc). An anchor must be within another element such as <p> ... </p> or <h1> ... </h1> • Use forward slashes (/) to specify directories (folders) NOT backslashes (). • Spaces in file or folder names are not recommended as some browsers may have trouble with them 34
  • 35. Webpage Components • Hyperlinks - Anchor Tag (Cont.) Examples: 1. Would be displayed as: 2. Would be displayed as: 35
  • 36. Webpage Components • Format tags • <strong>Bold</strong> • <em>Italic</em> (emphasis) • Horizontal rule (separator line) • <hr/> • Comments • <!-- my comments --> • Special characters • Used for coding 36
  • 37. Webpage Components • Styles (early look at CSS – next week) • Color (256 bit) • <p style="color:red">red</p> (named) • <p style="color:#000080">blue</p> (RGB hex) • <p style="color:rgb(0,128,0)">green</p> (RGB dec) Hexadecimal: 16 base numbers (0-9, A-F) • Dec 0-255 ≡ Hex 00-FF 37
  • 38. Developing Websites 1 • Introduction to Websites • Web Development Tools • Website Coding Technologies • Basic Websites with HTML • Webpage Structure • Webpage Components • Webpage Design Guidelines • Publishing a Website 38
  • 39. Webpage Design Guidelines • Appeal & clarity • Aesthetic design & communicates well • Balance & density • Appropriate sizing & use of space • Consistency (across & within pages) • Layout, color scheme, text size & fonts • Navigation & links 39
  • 41. Developing Websites 1 • Introduction to Websites • Web Development Tools • Website Coding Technologies • Basic Websites with HTML • Webpage Structure • Webpage Components • Webpage Design Guidelines • Publishing a Website 41
  • 42. Publishing a Website • Make webpages available via a web server • Copy files to server • Location mapped to the URL (public_html directory) • Set permissions for the world to see • Read permission for files & execute permission for directories • Open the URL in a web browser 42
  • 43. Publishing a Website • Make webpages available via a web server • Copy files to server 43
  • 44. Publishing a Website • Make webpages available via a web server • Set permissions for the world to see • Read permission for files & execute permission for directories 44
  • 45. Publishing a Website • Make webpages available via a web server • Open the URL in a web browser 45

Editor's Notes

  1. The HTML <br> element produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant. The <hr> tag in HTML stands for horizontal rule and is used to insert a horizontal rule or a thematic break in an HTML page to divide or separate document sections.