html coding

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/37

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

38 Terms

1
New cards

<!DOCTYPE html>

All HTML documents must start with this declaration. The declaration is not an HTML tag. It is an "information" to the browser about what document type to expect.

2
New cards

<html lang=".."> </html>

attribute specifies the language of the element's content.

3
New cards

<!--...-->

The comment tag is used to insert comments in the source code. Comments are not displayed in the browsers.

4
New cards

<head> </head>

this element is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag. HTML metadata is data about the HTML document. Metadata is not displayed on the page. Metadata typically define the document title, character set, styles, scripts, and other meta information.

5
New cards

<title> </title>

element defines the title of the document. The title must be text-only, and it is shown in the browser's title bar or in the page's tab.

6
New cards

<meta charset ="…">

The charset attribute specifies the character encoding for the HTML document. The HTML5 specification encourages web developers to use the UTF-8 character set, which covers almost all of the characters and symbols in the world!

7
New cards

<body> </body>

this tag defines the document's body. this element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.

8
New cards

<p>  </p>

Used to create a block of text. It will have a space above and below it like a paragraph in a paper.

9
New cards

<h1-6>  </h1-6>

Used to create the page title and outline important items on your page. the larger the number the smaller the words would be.

10
New cards

<br>

Creates a break on the page. This tag is slightly different from others as it does not have a closing tag.

11
New cards

<blockquote>  </blockquote>

Indents a chunk of text on a webpage.

12
New cards

<b>  </b>

Bolds text

13
New cards

<i>  </i>

Italicize text

14
New cards

<mark> </mark>

Highlights text

15
New cards

<small>  </small>

Small font sized – used for legal disclaimers and notices.

16
New cards

<strong>  </strong>

Used for important text, displays bold

17
New cards

<ol> <li> </li> </ol>

Ordered Lists: These are lists that display a numbering or letter system.

18
New cards

<ol  type="a"> </ol>

ordered list with lower letters.

19
New cards

<ol  type="A"> </ol>

ordered list with capitol letters.

20
New cards

<ol  type="I"> </ol>

ordered list with roman numerals.

21
New cards

<ol  type="1"> </ol>

basic ordered list with numbered points.

22
New cards

<ul> <li> </li> </ul>

Unordered Lists: These are lists that use bullet points.

23
New cards

<dl>
  <dt> Cleveland</dt>
    <dd> A city in Ohio </dd>

</dl>

Description Lists: Useful for organizing terms and descriptions
The order of the coded tags is very important when coding these lists.

24
New cards

&#…;

how to impute Special Characters, like & or copyright symbol.

25
New cards

&quot;

Quotation Mark = ““

26
New cards

&copy;

Copyright Symbol = ©

27
New cards

&amp;

Amperstand = &

28
New cards

&nbsp;

Non-breaking space

29
New cards

&mdash;

Long dash =

30
New cards

&#124;

Vertical Bar = |

31
New cards

Emojis

you can use Special Characters input to input emojis.

32
New cards

<nav> </nav>

a section where Links to other pages go.

33
New cards

<footer> </footer>

tag defines a footer for a document or section. usually contains authorship information, copyright information, or contact information

34
New cards

<div> </div>

A div tag is used for a division or a section in an HTML document. It can be used to format text.

35
New cards

Hyperlinks:

We use hyperlinks to link to another web page, display a file, or add an email address to our web pages.

36
New cards

<a href="website address"> text </a>

Absolute Links: We use this code to link to another external site.

37
New cards

<a href="pagename.html"> text </a>

Relative Links: We use this code to link to pages contained on your site.

38
New cards

<a href="mailto:email@yahoo.com"> Email address here </a>

Email Hyperlinks: We use the following code to create a link that will open the user’s email software when it’s clicked on.