How to create a website with HTML and PHP The very basics By Alexander Niehoff.

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

HTML Basics Customizing your site using the basics of HTML.
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
HTML popo.
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
 To publish information for global distribution, one needs a universally understood language, a kind of publishing mother tongue that all computers may.
Understand Web Page Development Software Development Fundamentals LESSON 4.1.
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
HTML Introduction HTML
HTML syntax By Ana Drinceanu. Definition: Syntax refers to the spelling and grammar of a programming language. Computers are inflexible machines that.
ETT 429 Spring 2007 Web Design I.
Web Page Introduction. What is a web page? A web page is a text file containing markup language tags. –A markup language combines text and extra information.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
2440: 141 Web Site Administration Web Server-Side Programming Professor: Enoch E. Damson.
Using Cascading Style Sheets (CSS) Dept. of Computer Science and Computer Information CSCI N-100.
WHAT IS PHP PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
Web Page Introduction. What is a web page? A web page is a text file containing markup language tags. –A markup language combines text and extra information.
Module 5 HTML: An Introduction. ●A language to describe and create web pages. ●Stands for: Hyper Text Markup Language What is HTML?
Basics of HTML.
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
_______________________________________________________________________________________________________________ E-Commerce: Fundamentals and Applications1.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
INTRODUCTION TO FRONTPAGE. TOPICS TO BE DISCUSSED……….  Introduction Introduction  Features Features  Starting Front Page Starting Front Page  Components.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
Web Design I Spring 2009 Kevin Cole Gallaudet University
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
CP2022 Multimedia Internet Communication1 HTML and Hypertext The workings of the web Lecture 7.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
F-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
CSS My favourite ICT lesson By Federico Boschi Cascading Style Sheets.
Web Page Introduction. What is a web page? A web page is a text file containing markup language tags. –A markup language combines text and extra information.
Just A Few More Fun Objectives 1 Having Some Fun With Java Script 2 Using Style Sheets.
CSS CSS is short for C ascading S tyle S heets. It is a new web page layout method that has been added to HTML to give web developers more control over.
HTML CSS JAVASCRIPT. HTML - Stands for Hyper Text Markup Language HTML is a ‘language’ that describes web pages. This language is a collection of codes.
Learning HTML Presented By: Wayne Helle What Is HTML? Learning Basic Tags... Formating Your Text... Working With Images and Links... Simple Form Boxes..
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction To HTML.  HTML stands for Hyper Text Markup Language.  HTML was developed by Tim Berners-Lee.  HTML is maintained by World Wide Web Consortium(W3C).
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
HTML file format  Lesson Objective: Understanding HTML and how it is used to create web pages.  Learning Outcome:  Create a HTML page by interpreting.
1 Web Application Programming Presented by: Mehwish Shafiq.
Advanced Web Development Instructor: Thomas Bombach.
DHTML. What is it? Dynamic HTML. Not a standard unlike HTML or Java It is a term applied by both Netscape and Microsoft to a collection of technologies.
Cascading Style Sheets
Introduction to HTML. _______________________________________________________________________________________________________________ 2 Outline Key issues.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
How to… Cascading Style Sheets. How to Insert a Style Sheet When a browser reads a style sheet, it will format the document according to it. There are.
Style Sheets. Coding Style Sheets  Style sheets use RULES to create the style  A selector (a tag or user-defined style name)  and then declarations.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
Your HTML website creating your first html file. Creating an HTML FIle Open note pad from accessories, programs. Write code. Save and view. In 3 Steps.
Basic Steps to create a Website using HTML5. Hypertext Markup Language.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
Learning Aim C.  Creating web pages involves many considerations.  In this section we will look at the different software tools you can use and how.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place Programming language.
Tutorial #1 Using HTML to Create Web Pages. HTML, XHTML, and CSS HTML – HyperText Markup Language The tags the browser uses to define the content of the.
HTML Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Introduction to HTML Hypertext Mark-up Language. HTML HTML = Hypertext Mark-up Language Is just plain simple text marked up by “tags” You can create a.
Computer Club Content Review Al Huda Computer Club, April 9, 2016 Farid Ahmed.
Source of website: “Text/css rel=“styles heet” This is an external style sheet link. This means that the.
Web Page Design The Basics. The Web Page A document (file) created using the HTML scripting language. A document (file) created using the HTML scripting.
HTML HyperText Markup Language. 1.Introduction  HTML is used to describe web pages.  HTML stands for Hyper Text Markup Language.  Tim Berners-Lee and.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Web Basics: HTML/CSS/JavaScript What are they?
Introduction to Dynamic Web Programming
The Internet and HTML Code
Introduction to web design discussing which languages is used for website designing
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Computer communications
Web Development 101 Workshop
Presentation transcript:

How to create a website with HTML and PHP The very basics By Alexander Niehoff

Content  What is HTML?  What is PHP?  What else do i need for a website?  CSS – Cascading Style Sheets  What is HTML?  What is PHP?  What else do i need for a website?  CSS – Cascading Style Sheets

Hypertext Markup Language

What is HTML?  Hypertext Markup Language  Text-based markup language for structuring digital content  Every browser can read HTML  Structuring of text and objects with ‘tags’   Hypertext Markup Language  Text-based markup language for structuring digital content  Every browser can read HTML  Structuring of text and objects with ‘tags’ 

HTML basic structure Content Declare this document as HTML Start of the head section Metadata like ‚author‘ or ‚keywords‘ Title that appears in the tab or topbar Start of the content section End of the content section End of HTML-code Example End of the head section Start of HTML-code

,,  ,,  HTML common tags bold, italic and underline forces a word wrap include an image or picture hyperlink (also known as ‚link‘) creates a text- or password area, or a button tags to create a table change color, font-family or size of text Further defined with ‚width‘, ‚height‘, ‚name‘, ‚value‘ …

Hypertext Preprocessor

What is PHP?  Hypertext Preprocessor, originally Personal Home Page Tools  Server-side scripting language for web development  Needs an extra program to run (like apache or nginx)  Can be simply mixed with HTML  Can connect and interact with databases  GET and transfer inserted data like text and files …   POST and transfer inserted data   Hypertext Preprocessor, originally Personal Home Page Tools  Server-side scripting language for web development  Needs an extra program to run (like apache or nginx)  Can be simply mixed with HTML  Can connect and interact with databases  GET and transfer inserted data like text and files …   POST and transfer inserted data  ?name=Alexander&lastName=Niehoff

PHP basic structure <?php $name="Alex"; echo "Your name is ". $name. ", right?"; ?> Example The PHP-Code is inside the HTML body-tag Initiation of PHP-code Definition of a variable Text output including the variable „Alex“ Marks the end of PHP-code

Example of a very basic website Click me Click me

What else is needed?

 Server (own or rented)  If own server  Fast upload and download  Properly set port forwarding on the router  Domain ( com, biz, gov, …])  Database (MySQL, Oracle, etc …)  Good sense for design  Design via CSS  Server (own or rented)  If own server  Fast upload and download  Properly set port forwarding on the router  Domain ( com, biz, gov, …])  Database (MySQL, Oracle, etc …)  Good sense for design  Design via CSS

 CSS stands for C ascading S tyle S heets  External file  Define how to display HTML elements  HTML elements should get an identifier  CSS stands for C ascading S tyle S heets  External file  Define how to display HTML elements  HTML elements should get an identifier What is CSS? HTML file cssEx.html CSS file style.css Headline one This is just some random text… body { font-family: calibri,“Times New Roman“; background-color: #C9C9C9; } h1 { font-size: 22pt; color: green; }

Thank you for your attention and have a nice day If you have any question you may ask them now