html body { margin-top: 50px !important; } #top_form { position: fixed; top:0; left:0; width: 100%; margin:0; z-index: 2100000000; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; border-bottom:1px solid #151515; background:#FFC8C8; height:45px; line-height:45px; } #top_form input[name=url] { width: 550px; height: 20px; padding: 5px; font: 13px "Helvetica Neue",Helvetica,Arial,sans-serif; border: 0px none; background: none repeat scroll 0% 0% #FFF; }
11 Q1 Week3 No Answer
11 Q1 Week3 No Answer
Department of Education
PROGRAMMING
.NET NCIII
Grade 11
Learning Competency:
Design HTML5 document using Cascading
0
K TO 12 BASIC EDUCATION CURRICULUM JUNIOR HIGH SCHOOL
TECHNICAL LIVELIHOOD EDUCATION AND SENIOR HIGH SCHOOL -
TECHNICAL-VOCATIONAL-LIVELIHOOD TRACK INFORMATION AND
COMMUNICATIONS TECHNOLOGY–PROGRAMMING (.NET TECHNOLOGY)
NC III
(1st Semester)
1
EXPECTATIONS:
Key Terminologies
HyperText is the method by which you move around on the web — by clicking
on special text called hyperlinks which bring you to the next page. The fact that
it is hyper just means it is not linear — i.e. you can go to any place on the
Internet whenever you want by clicking on links — there is no set order to do
things in.
Markup is what HTML tags do to the text inside them. They mark it as a certain
type of text (italicised text, for example).
HTML is a Language, as it has code-words and syntax like any other language.
LEARNING OUTCOME 1:
1
. ___________ is a language that is used for website creation?
a.
Hmtl
d.
Html
b.
Hltm
e.
Htm
Hmlt
2
. What is the paragraph tag?
a.
<param>
d.
<paragraph>
b.
<pr>
e.
<par>
<p>
3
. What is the tag for next line?
a.
<enter>
d.
</br>
b.
<br>
e.
<bl>
<b>
4
The sole purpose of ________ element is to encapsulate all the html code and
.
describe the html document to the web browser.
a.
<title>
c
<body>
b.
<html>
e.
<header>
<head>
5
. The superscript tag.
a.
<sup>
d.
<superscript>
b.
<sub>
e.
<script>
<super>
B. Direction: Group the given tags inside the box as for closing or opening tags
Opening tag
Closing tag
</p>
1.
1.
<html>
</title>
2.
2.
</body>
<head>
3.
3.
<p>
<b>
4.
4.
</i>
</hr>
5.
5.
<font>
3
HTML FUNDAMENTALS
Markup is what HTML tags do to the text inside them. They mark it as a
certain type of text (italicized text, for example).
Notepad or Notepad++
Web Browser
4
2. Extension name must be: .htm or .html
HTML Elements
Example:
Every (web)page requires four critical elements: the html, head, title, and
body elements.
<html> begins and ends each and every web page. Its sole purpose is to
encapsulate all the HTML code and describe the HTML document to the web
browser. Remember to close your HTML documents with the corresponding
</html> tag at the bottom of the document.
5
Other elements used for scripting (JavaScript) and formatting (CSS) will
eventually be introduced and you will have to place them within your head
element. For now, your head element will continue to lay empty except for
the title element that will be introduced next.
Place the <title> tag within the <head> element to title your page. The words
you write between the opening and closing <title></title> tags will be
displayed at the top of a viewer's browser.
HTML Format
Example:
<html>
<head><title></title></head>
<body>
Headings are controlled by HEADER tags. HEADER tags are logical tags and
used extensively in HTML documents to display headings. HEADER tags not
only make your headings larger (or
6
smaller), they also bold the headings at the same time. There are only six
HEADER tags and they range from H1 to H6.
"level 1 heading".
<H6>…</H6> produces the smallest size heading and is called the "level 6
heading".
• <BR>Tag
<BR> tells your browser to go to the beginning of the next line. BR stands
for line BReak. <BR> acts in the same way as the ENTER key on your
keyboard.
• <P>Tag
<P> for Paragraph tells your browser to insert a blank or empty line and
then begin a new line (a new paragraph). <BR> tells the browser when a line
has ended while <P> tells the browser to leave a blank line and begin a new
paragraph.
<sub>…</sub>
<sup>…</sup>
smaller
Ex.This
Ex. This
is<sup>superscript</sup>
is<sub>subscript</sub>
subscript
Output: This is
7
<u>…</u> tag
<strike>…</strike>
<strong>…</strong>
<em>…</em>
italic
Output: access
Ex.<strong>computer</strong>
•<font> tag - The <font> tag specifies the font face, font size, and font color of
text.
Attribute
Description
Size
Specifies
the
font
size.
Color
Specifies
the
font
color.
Face
Specifies
the
font
face.
Example:
<font
face=”book
man
old
style”
color=”red”
size=”10”>ACCESS</font>
• <HR> tag
Used to create horizontal line across the webpage. Attributes: color, size,
align
8
ACTIVITY 1.1:
Rearrange the following given html tags into standard basic structure of
HTML. Use the blank sheet below
<head>
Output
</html>
<html>
Contents here
<title>
</head>
</body>
</title>
<body>
</head>
9
ACTIVITY 1.2:
Create a simple webpage that will display DepEd Vision. Write the code
below.
stands for Hypertext Markup Language. It is a language
used to create a webpage. It is a markup simply because it marks a certain
type of text like bold, italize and underline. In creating a webpage, it follows
the basic structure in HTML.
10
CHECKING YOUR UNDERSTANDING
Based from the lesson above can you explain how use the html to create a
webpage and give an example. Used the space below.
11
Direction: Multiple Choice: Choose the letter of the correct answer.
1
. ___________ is a language that is used for website creation?
a.
HMTL
d.
HTML
b.
HLTM
e.
HTM
HMLT
.
a.
<param>
d.
<paragraph>
b.
<pr>
e.
<par>
<p>
3
. What is the tag for next line?
a.
<enter>
d.
</br>
b.
<br>
e.
<bl>
<b>
4
The sole purpose of ________ element is to encapsulate all the html code and
.
describe the html document to the web browser.
a.
<title>
c
<body>
b.
<html>
e.
<header>
<head>
5
. The superscript tag.
a.
<sup>
d.
<superscript>
b.
<sub>
e.
<script>
<super>
12
LEARNING OUTCOME 2:
a.
<title>
d
<body>
b
<html>
e
<header>
c.
<head>
a.
List Item
d
Link intersect
b
Listing internal
e
None of the above
c.
Link Interface
a.
<ot>
d
<u>
b
<ol>
e
None of the above
c.
<ul>
a.
<nl>
d
<li>
b
<ul>
e
<numlist>
c.
<ol>
a.
Data list
d
Data link
b
Data listing
e
None of the above
c.
Definition list
13
Three types of lists:
Example:
<ul>
<li>Rhaymond
<li>Sachi
<li>Reynaldo
</ul>
Example:
<ol>
<li>red
<li>green
<li>blue
</ol>
Example:
<dl> (Definition List)
<dt>Milk</dt>
</dl>
</ul>
14
</ol>
</ol>
Possible Output:
Rhaymond
Sachi
Reynaldo
ACTIVITY 2.1:
Think of 10 names of your friend then display it using the numbered and
bulleted lists below. Show the complete HTML tags.
15
offers web authors three ways for specifying lists of All lists must contain one or more
list elements. Lists may
contain −
• <ul> −
1.
The tag used for creating bulleted list.
a.
<bl>
D
<dl>
b.
<ul>
e
None of the above
c. <ol>
<underline>
D
<u>
b.
<uline>
e
None of the above
c. <ul>
<nl>
D
<li>
b.
<ul>
e
<numlist>
c. <ol>
&nbps
d
&npsb;
b.
Nbps;
e
c. Nsbp
<text>
d
<textformat>
b.
<format>
e
None of the above
<font>
16
17
References:
https://www.w3schools.com/X
Acknowledgements
PRE-TEST LO 1
A.
B
B
A
B.
Opening tag
Closing tag
1.<html>
1.
</p>
2.
<head>
2.
</title>
3.
<p>
3.</i>
4.<b>
4.<./body>
5.
<font>
5.
</hr>
ACTIVITIY 1.1
</html>
<head>
<title>
?
</title>
</head>
<body>
Contents here
</body>
<html>
19
ACTIVITY 1.2
<html>
<head>
<body>
</body>
</html>
POST-TEST LO1
C
B
PRE-TEST LO 2
B
A
C
C
20
ACTIVITY 2.1
The teacher will check the answer.
POST-TEST LO 2
B
D
C
21