Web Programming - Week 1 Flashcards
(34 cards)
Front End Development Languages
HTML, CSS, JavaScript
Back End Development Languages
PHP, MySQL, AJAX
HTML Purpose
Structure of website
CSS Purpose
Presentation of website
JavaScript Purpose
Functionality of website
HTML Syntax
< html > < head > < /head > < body > < /body > < /html >
What is the < title > tag and where does it go
Defines the title of the document and goes in the < head > tag
What are < h1 > < br > and < p > and where do they go
< h1 > to < h6 > to define section headings
< br > produces a line break
< p > defines a paragraph
In the < p > tag
How are comments inserted in HTML
< !– – >
How are links defined in HTML
< a href=”websitelink” >Text < /a >
What is id used for in HTML
The id attribute is used to specify a unique id for an HTML element
What is class used for in HTML
Groups HTML elements with an id
What are attributes for
lang = “en”
What is usually meta-charset’s value and where does it go
UTF-8
In the head tag
How are images defined in HTML
< img >
What do < ul > < li > and < ol > do
< ul > and < ol > make unordered or ordered lists
< li > adds an element to the list
How are tables made in HTML
- table row
- table header
- table cell
What does < col span = 2 > do
Makes a cell with column size 2
What is the < div > tag
Used to divide or define a section
Has no effect unless CSS is being used
What are html forms
Elements used to collect user inputs
What are different input types
Text, Radio, Checkbox, Submit, Email, Date, Label, Textarea, Select, Button
What does the name attribute do
Specifies the name of an element
What does the value attribute do
Defines the default value for an element
What are the 3 ways CSS can be added to HTML
Inline
Internal
External