Docsity

Web Development Foundations: HTML, CSS, and JavaScript Fundamentals, Study Guides, Projects, Research of Web Design and Development

Toggle sidebar
bg1
1 /
D276 WEB DEVELOPMENT FOUNDATIONS
1.Action Attribute (attribute of <form> element): defines the action to be
per- formed when the form is submitted
2.Target Attribute (attribute of <form> element): specifies where to
display the response that is received after submitting the form
3._blank (a Target Attribute value): The response is displayed in a new
window or tab
4._self (a Target Attribute value): The response is displayed in the current
window
5._parent (a Target Attribute value): The response is displayed in the parent
frame
6._top (a Target Attribute value): The response id displayed in the full
body of the window
7.framename (a Target Attribute value): The response is displayed in a
named iframe
8.Method Attribute (attribute of <form> element): specifies the HTTP
method to be used when submitting the form data
9.GET (HTTP Method for Method Attribute): -Appends the form data to the
URL, in name/value pairs
-NEVER use GET to send sensitive data! (the submitted form data is
visible in the URL!)
-The length of a URL is limited (2048 characters)
-Useful for form submissions where a user wants to bookmark the result
-GET is good for non-secure data, like query strings in Google
10.POST (HTTP Method for Method Attribute): - Appends the form data
inside the body of the HTTP request (the submitted form data is not
shown in the URL)
- POST has no size limitations, and can be used to send large amounts of
data.
- Form submissions with POST cannot be bookmarked
11.Autocomplete Attribute (attribute of <form> element): specifies
whether a form should have autocomplete on or off. When
autocomplete is on, the browser automatically complete values based
on values that user has enter before
12.Novalidate Attribute (attribute of <form> element): When present, it
specifies that the form-data (input) should not be validated when
submitted
13.Document Object Model (DOM): is a programming API for HTML and
XML documents. It defines the logical structure of documents and the
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Web Development Foundations: HTML, CSS, and JavaScript Fundamentals and more Study Guides, Projects, Research Web Design and Development in PDF only on Docsity!

D276 WEB DEVELOPMENT FOUNDATIONS

  1. Action Attribute (attribute of element): defines the action to be per- formed when the form is submitted
  2. Target Attribute (attribute of element): specifies where to display the response that is received after submitting the form
  3. _blank (a Target Attribute value): The response is displayed in a new window or tab
  4. _self (a Target Attribute value): The response is displayed in the current window
  5. _parent (a Target Attribute value): The response is displayed in the parent frame
  6. _top (a Target Attribute value): The response id displayed in the full body of the window
  7. framename (a Target Attribute value): The response is displayed in a named iframe
  8. Method Attribute (attribute of element): specifies the HTTP method to be used when submitting the form data
  9. GET (HTTP Method for Method Attribute): -Appends the form data to the URL, in name/value pairs -NEVER use GET to send sensitive data! (the submitted form data is visible in the URL!) -The length of a URL is limited (2048 characters) -Useful for form submissions where a user wants to bookmark the result -GET is good for non-secure data, like query strings in Google
  10. POST (HTTP Method for Method Attribute): - Appends the form data inside the body of the HTTP request (the submitted form data is not shown in the URL)
  • POST has no size limitations, and can be used to send large amounts of data.
  • Form submissions with POST cannot be bookmarked
  1. Autocomplete Attribute (attribute of element): specifies whether a form should have autocomplete on or off. When autocomplete is on, the browser automatically complete values based on values that user has enter before
  2. Novalidate Attribute (attribute of element): When present, it specifies that the form-data (input) should not be validated when submitted
  3. Document Object Model (DOM): is a programming API for HTML and XML documents. It defines the logical structure of documents and the

way a document is accessed and manipulated

  1. Elements (part of Chrome Developer Tools): shows you the HTML used to build the page you're looking at, together with any inline CSS
  2. Console (part of Chrome Developer Tools): deals with JavaScript. It gives you information about interactive elements on a page. In Console, you can write JavaScript to interact with the web page you're viewing, and it also lets you write

controls Attribute that allows the user to play, pause, and adjust audio settings

src Attribute used within the tag to specify the media file type Attribute used within the tag to specify the type of audio (mp3, wav, ogg)

  1. ** element:** is used to embed a document hosted on another domain, such as YouTube or Google Maps. An iframe displays a webpage within a webpage
  2. Vector: Graphics that use mathematical coordinates with lines, curves, and shapes to create images and specify colors
  3. Bitmap: graphics that use small dots (usually thousands) to create images and specify colors
  4. Image Transparency: Web-ready image file formats that support transparency are GIF, PNG and SVG. JPEG, BMP and TIFF formats do not support transparency on the Web
  5. Scalable Vector Graphics (SVG): is a W3C-recommended language devel- oped by various vendors including Adobe, Microsoft and sun. SVG uses XML to de- scribe graphics and graphical applications. SVG allows you to create cross-platform animated movies
  6. Image Map (Hot Spot): an image that includes hyperlinks within specific areas of the image. These linked areas or hotspots, are defined by a set of coordinates
  7. Simple selectors: select elements based on name, id, class
  8. Combinator Selectors: select elements based on a specific relationship be- tween them
  9. Pseudo-class Selectors: select elements based on a certain state
  10. Pseudo-elements selectors: select and style a part of an element
  11. Attribute Selectors: select elements based on an attribute or attribute value
  12. #id: Example: #firstname Example description: Selects the element with id= "first name"
  13. .class: Example: .intro Example description: selects all elements with class="intro"
  14. element.class: Example: p.intro Example description: Selects only

    elements with class="intro"

  15. *: Example: * Example: Selects all elements

42. **Descendant selector (space):** matches all elements that are descendants of a specified elements 43. **Child selector (>):** selects all elements that are the children of a specified element 44. **Adjacent sibling selector (+):** is used to select an element that is directly after another specific element 45. **General Sibling Selector (~):** selects all elements that are next siblings of a specified element 46. **Equal Specificity:** the latest rule wins- If the same rule is written twice into the external style sheet, then the latest rule wins 47. **ID selector have specificity than attribute selectors:** higher 48. **Contextual selectors are more specific than a single element selector:** The embedded style sheet is closer to the element to be styled 49. **A class selector beats any number of element selectors:** a class selector such as .intro beats h1, p, div, etc 50. **The universal selector (*) and inherited values have a specificity of 0:** The universal selector (*) and inherited values are ignored 51. **ordered list tag:** type="1" Numbers (default) type="A" Uppercase letters type="a" Lowercase letters type="I" Uppercase Roman numerals type="i" Lowercase Roman numerals 52. **:** create a table row, which contains all the row's cells 53. **:** create a new table cell containing table header information about the data. Usually the browser displays table headers centered with a bold font 54. **:** opening and closing tags create a new table cell containing a

table datum

  1. XML: a markup language that you can use to structure and format any kind of data that have multiple purposes such as the following: Data storage Data retrieval

cannot contain spaces

  1. XML Elements are Extensible: XML elements can be extended to carry more information
  2. If the padding property has 4 values: they cover top, right, bottom, left
  3. If padding property has 3 values: they cover top, left and right, bottom
  4. If padding property has 2 values: they cover top and bottom, and left and right
  5. If padding property has 1 value: it is assigned to all 4 sides
  1. @keyframes rule: the animation will gradually change from the current style to the new style at certain times
  2. animation-duration property: defines how long an animation should take to complete. If the animation-duration property is not specified, no animation will occur
  3. animation-delay property: specifies a delay for the start of an animation
  4. animation-iteration-count property: specifies the number of times an anima- tion should run
  5. animation-direction property: specifies whether an animation should be played forwards, backwards or in alternate cycles
  6. Normal (animation-direction property): The animation is played as normal (forwards). this is default
  7. Reverse (animation-direction property): The animation is played in reverse direction (backwards)
  8. Alternate (animation-direction property): The animation is played forwards first, then backwards
  9. Alternate-reverse (animation-direction property): The animation is played backwards first, then forwards
  10. Animation-fill mode property: specifies a style for the target element when the animation is not playing
  11. none (Animation-fill mode property): Default value. Animation will not apply any styles to the element before or after it is executing
  12. forwards (Animation-fill mode property): The element will retain the style values that is set by the last keyframe (depends on animation- direction and anima- tion-iteration-count)
  13. backwards (Animation-fill mode property): The element will get the style values that is set by the first keyframe (depends on animation- direction), and retain this during the animation-delay period
  14. both (Animation-fill mode property): The animation will follow the rules for both forwards and backwards, extending the animation properties in both directions.
  15. W3C CSS Validation Service: can bused to check the correctness (validity) of CSS