1.3.3 (HTML) Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is HTML?

A
  • Hyper Text Markup Language
  • The standard mark up for webpages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a HTML element?

A
  • Start and end tags with content in between
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What should the document start and end with?

A
  • <html>
  • </html>
  • Which are non-visual
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What should the main text start and end with?

A
  • <body>
  • </body>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the <head> tag?

A
  • Container for metadata
  • Placed between <html> and <body> tags
  • Non- visual, not displayed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the <title> tag?

A
  • Defines the title of the document
  • Must be text only
  • Shown in the title bar or page tab, visual
  • Required for all HTML documents
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the <body> tag?

A
  • Defines the document’s main text
  • Contains: headings, paragraphs, images, hyperlinks, tables, and lists
  • Can only have one <body> tag in the HTML document
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the <h*> tags?

A
  • Defines headings in order of importance and therefore size
  • <h1> defines the most important
  • <h6> defines the least important
  • only use one <h1> tag per page for the main heading
  • Can not skip levels
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the <p> tag?

A
  • Defines a paragraph
  • Browsers automatically add a single blank line before and after each <p> tag
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the <img> tag?

A
  • Used to embed an image in a HTML document
  • Images are not inserted into webpages but rather linked to webpages
  • The <img> tag creates a holding space for the referenced image
  • The <img> tag requires 2 attributes: scr - specifies the file path of the image, alt - specifies alternate text for the image in the event it cannot be displayed for some reason
  • Always specify the width and height of the image, or the page may flicker while the image loads
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the <a> tag?

A
  • Defines a hyperlink which is used to link one page to another
  • Most important attribute of this tag is href which indicates the link’s destination
  • By default links will appear as followed in all browsers:
  • Unvisited link: blue, underlined
  • Visited link: purple, underlined
  • Active link: red, underlined
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the <ol> tag?

A
  • Defines an ordered list
  • An ordered list can be numerical or alphabetical
  • The <li> tag is used to define each list item
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the <ul> tag?

A
  • Defines an unordered list (bullet pointed)
  • The <li> tag is used to define each list item
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the 5 tags which relate to aspects of CSS and JavaScript?

A
  • <link>
  • <div>
  • <form>
  • <input>
  • <script>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly