1 Flashcards

1
Q

1 HTML?
2 html is composed of?
3has 2 main sections

A

1 Hyper Text Markup Language
2
21Elements (tags) are nested one inside another:
2.2 Tags have attributes(<img src=”logo.jpg” alt=”logo” /)

3 HTML describes structure using two main sections:

<head> and <body>
<html> <head></head> <body></body> </html>
</body></head>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Every block element should start on a 1
* Every nested (block) element should be 2.

A

1new line.
2 indented

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

hyperlink tags?
image tags?
3 div?

A
  1. (a href=(“http:” title=)
    “Telerik site”)This is a link.</a>
  2. (img src=”” alt”logo”/>”
  3. “<div style=”bakground: gray;”)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

heading is limited to h?
2 why e “<!DOCTYPE>” Declaratio?

A
  1. h1-h6
    2 . tells the web browserof what type the served code (xhtml, html)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

XHTML VS HTML

A

1
XHTML //
- stricter than html,
- - tags n attributes must be in lowercase
**- tags must be closed(br/>)
**- allows one root html element, n XHTMLK loads Faster

`

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

WHAT AM I

  • Contains information that doesn’t show directly on the
    viewable page
  • Starts after the <!doctype> declaration
  • Begins with <head> and ends with </head>
  • Contains mandatory single <title> tag</title>
  • Can contain some other tags, e.g.
  • <meta></meta>
  • <script>
    
    </script>
  • <style>
    </style>
  • <!–- comments –>
A

1 the head)> section

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. the (Tittle) should be placed —-?
  2. this describe the content within the page
  3. this can live inthe (head) b=n (body) sections, support Client side languages
  4. this embeds formatting info into html?
A
  1. between head tags
  2. ( meta) tags
  3. < script type= ““>sayhello(); (script/)
  4. (style type=””;};} (/style)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. this exist anywhere in the html tags
  2. it is the viewable portion of the page
A
  1. Comments (!– –)
  2. (body)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. Link to a document called ?????on the same server in the
    **same directory:
    **2. * Link to a document called ??? on the same server in
    **the parent directory:
    **3. Link to a document called ??????? on the same server in the
    subdirectory stuff
A
  1. form.html
  2. parent.html
  3. cat.html
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

image attributes

  1. Location of image file (relative or absolute)
  2. Substitute text for display (e.g. in text mode)
A
  1. src
  2. alt
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q
  1. how to create list?
  2. what are the attributes of list?
  3. how to unordered list?
  4. what attribute types in unordered?
A
  1. <ol type=”1”)

<li) apple </li)
</ol)
2. 4(1, A, a, I or i)
3. <ul type=”disc”)
<li)apol</li)
</ul)
4/ ul has 3 (disc, circle, or square

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
  1. whats dl tag?
  2. whats dt tag?
    1. whats dd tag?
A
  1. definition list, pairs of text b associated definirion
  2. definition tag
  3. definition (this describes each term nung nasa dt)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
  1. this elements add a line break before and after them. ex: div
  2. this elemnt don’t break the text before and after them, ex: span
A
  1. Block elements
  2. Inline element
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q
  1. this creates a table row
  2. this creates tabular data
A

1.. <tr)</tr)
2.<td)</td)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

html tables

table rows sa 3 section? what are they

A

1.1 <thead) // table header
1.2 tbody// denotes collection of table rows that contain very data
1.3 tfoot// comes before the tbody tag

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q
  1. nested tables format
  2. tables has 2 important attributes?
A
  1. (table)
    (tr)(tr)
    (td)(td)
    (table)
    (tr)(tr)
    (td)(td)
    (table)
  2. Cellspacing(space between cells) & cellpading(around the cell)
17
Q

Colspan vs Rowspan?

A

1.1 colspan
- defines how many columns the cell occupies
1.2 rowspan
- how many rows the Cell occupies

18
Q

html Forms

  1. method in forms is?
  2. action in form is?
A
  1. method “ tells HOW the form should be sent (get or Post)
  2. action tells WHERE thw form should be sent
19
Q

Form Input Controls

??? provide a way to show multiple HTML
documents in a single Web page
* The page can be split into separate views )
horizontally and vertically
* were popular in the early ages of HTML
development, but now their usage is rejected
* are not supported by all user agents
(browsers, search engines, etc.)

A
  1. Frames
20
Q
  1. this provide a way to show one website inside another website
A
  1. inline frames