HTML Flashcards

(28 cards)

1
Q

HTML full form

A

Hyper Text mark up language

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

use of JavaScript:

A

Make it interactive.

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

tag

A

<>

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

element

A

<p> is the opening tag.
Hello World! is the content.
</p>

is the closing tag.

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

<p>
</p>

A

paragraph element

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

<body>
</body>

A

element defines an HTML document’s “body” and it’s where any content that we want to display to the user will be held

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

headings

A

<h1> heading element
</h1>

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

level of heading

A

There are six levels of headings, from <h1> to <h6>:

<h1>Heading level 1</h1>

<h2>Heading level 2</h2>

<h3>Heading level 3</h3>

<h4>Heading level 4</h4>

<h5>Heading level 5</h5>

<h6>Heading level 6</h6>

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

Line break

A

<br></br> break tag

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

bold
italicize
underline
strikethrough

A

<b>
<i>
<u></u></i></b>

<s>
</s>

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

two types of list

A

<ul> Unordered lists
<ol> Ordered lists
eg:
<ol>
<li>Power ⚡</li>
<li>Courage 🔥</li>
<li>Wisdom 🦉</li>
</ol>
</ol></ul>

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

anchor tag

A

hyperlink
eg:
<a>Internet Archive</a>

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

href

A

An href, or hyperlink reference, is a reference or pointer to another website that is linked in our HTML.

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

image

A

<p>Here's a cute pic:</p>

<img></img>

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

Documentation type declaration

A

<!DOCTYPE html>

<html>
Code goes here
</html>

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

Inside <html>, there should be two elements:

A

<head> contains all the info for your browser that's not visible on the page.
<body> contains all of the content that you will end up seeing on the page.
</body></head>

17
Q

comments

A

Everything surrounded by the <!-- and --> comment markers is ignored and not rendered on the browser

18
Q

Attributes

A

<element>Content</element>

19
Q

Attributes in Image Tag

A

width=”250”
If our image can’t appear for some reason, the alt text is displayed instead!

20
Q

Attribute in Anchor Tag

A

<img src=https://tse2.mm.bing.net/th?id=OIP.VObaoIAjWjttB-VbLeTvKQHaF4&w=376&h=376&c=7>

<p> <b>Pradeep Kumar</b> is a renowned Indian playback singer and music director, celebrated for his contributions to Tamil cinema.<br></br> Throughout his career, Pradeep has collaborated with prominent composers such as <i>Santhosh Narayanan and Sean Roldan</i>, lending his soulful voice to numerous hit songs. His versatility and emotive singing style have earned him a special place in <u>the hearts of music enthusiasts.</u><p>
<p><b>INSTA:</b> <a href=https://www.instagram.com/pradeep_kumar1123/?hl=en> Pradeep Kumar<a></a></p>
<p><b>Members</b></p>
</p></p>

21
Q

use roman in list

A

<ol>
<li>Power ⚡</li>
<li>Courage 🔥</li>
<li>Wisdom 🦉</li>
</ol>

22
Q

Attribute in Anchor Tag

A

<a>Codédex</a>
<a>Codédex</a>
We can also use the target attribute and set it to “_blank” to make the link open in a new browser tab:

23
Q

Attributes in Image Tag

A

<img></img>
<img></img>

24
Q

class and id

A

A good way to remember class vs id is… there can be multiple students in a class, but each student should have an unique id.

25
ID eg
Link to Medellín

Medellín 🇨🇴

26
class example

Medellín 🇨🇴

Lisbon 🇵🇹

Bali 🇮🇩

27
Division Element
creating sections of a page
28