0% found this document useful (0 votes)
14 views3 pages

HTML5 Web Page Creation for Grade 6

Uploaded by

loungelizard129
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views3 pages

HTML5 Web Page Creation for Grade 6

Uploaded by

loungelizard129
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Abu Dhabi Indian School - BRANCH 1, AL WATHBA

Grade 6

Chapter-8 Creating Web Pages using HTML5


A. Fill in the blanks.
1. Hypertext
2. Web Browsers
3. (Not applicable)
4. Container
5. Line Break

B. Write T for True and F for False.


1. True
2. False
3. (Not applicable)
4. (Not applicable)
5. (Not applicable)

C. Application-based questions.
1. (Not applicable)
2. (Not applicable)

D. Select the correct option.


1. (b) SGML
2. (b) Web editor
3. (b) <hr>
4. (Not applicable)
5. (Not applicable)
E. Answer the following questions.
1. HTML stands for Hypertext Mark-up language. It is a complete code package that
allows the user to create web pages that contain both text and graphics. To work
with HTML we need two basic tools: 1. HTML Editor- for creating and saving the
documents. 2. Browser- for viewing the documents.

2. Tags are the building blocks of a web page. They contain elements which define how
the information on a web page is formatted or displayed. Tags do not appear in the
browser window but they affect the display of the text and non-text items in it.
An Attribute is the property that provides additional information about an HTML
element. It enhances the functionality of a tag. An attribute is always specified inside
the opening tag.

3. An HTML element is consisting of an ON tag and OFF tag. These can be categorized
as Container Elements and Empty Elements. The elements that include both on and
off tags are called container elements. For example, the <b> tag. Empty elements
have only on tags. They do not have off tags. These elements do not enclose any
data; instead they perform some function on their own. For example, the <br> tag.

4. Comments are the useful element while creating a web page, if you want to write
notes for yourself in an HTML document, but do not want them to be displayed in
the browser window. In such a case, you need to use the Comment tag. You can add
a comment in a web page in any of the following ways:
<!-- Learning HTML is great fun --> Or
<comment> Learning HTML is great fun </comment>
5. (Not applicable)
6. The text property are text color , text font and text size.
Text Color
This property is used to set the colour of the text.
Syntax:
color: value, where value = color/RGB color code
For example:<p style=”color:red”>Text colour is red.</p>
Text Font
This property is used to set the font of the text.
Syntax:
font-family: value, where value = name of the font.
For example:<p style=”font-family: Times New Roman”>Text font is Times New Roman.</p>
Text Size
This property is used to set the size of the text.
Syntax:
font-size: value, where value = size in pixels.
For example:<p style=”font-size:50px”>Text font size is 30px</p>
……………………………………………………………………..

Common questions

Powered by AI

Hypertext refers to the text displayed on a web page that contains links to other pages or sections, facilitating navigation. Web browsers, in turn, are software applications used to access and view these web pages, rendering the hypertext in a format that users can interact with. Thus, hypertext relies on web browsers for functionality and presentation to the user .

Container elements in HTML consist of both opening and closing tags, and they enclose content. For example, the <b> tag is used to bold text and has an opening and a closing tag. On the other hand, empty elements possess only opening tags and serve a standalone function. An example of an empty element is the <br> tag, which inserts a line break without enclosing any content .

Using both on and off tags in container elements is necessary to enclose the content and specify the scope of the tag's effect. For example, the <b> tag bolds text; it has an opening <b> and a closing </b> tag to indicate which text should be bolded. This pairing ensures the precise application of styles or effects, clearly defining the start and end of the styled text .

The properties associated with text styling in HTML include text color, text font, and text size. The text color can be set using the 'color' property, specified by color names or RGB codes, e.g., <p style="color:red">. The font of the text is controlled using the 'font-family' property, where the value is the font name, e.g., <p style="font-family:Times New Roman">. Text size is defined using 'font-size', with the value in pixels, e.g., <p style="font-size:30px"> .

Understanding the distinction between HTML tags and attributes is crucial in web design because tags define the structure and presentation of elements on a page, while attributes provide additional detail and functional enhancement to these elements. This nuanced knowledge allows designers to effectively utilize tags for layout and aesthetics, while leveraging attributes to imbue elements with specific properties like styles or behaviors, leading to well-optimized and functional web pages .

Comments in an HTML document can be added using the <!-- Comment --> syntax. Comments serve the purpose of providing notes or explanations within the HTML code that do not appear in the browser. They are useful for developers who want to annotate their code for future reference or collaboration .

The <hr> tag is an exemplar of an empty element in HTML because it provides a horizontal rule on a web page without enclosing any content. As an empty element, it contains no closing tag and performs its intended function—creating a thematic break in the content—independently. This demonstrates how empty elements are functional by themselves and do not require paired tags .

HTML tags are the building blocks of a web page. They define the structure and formatting of the text and non-text items on the page. While tags determine how elements are displayed, attributes provide additional functionality to these tags. Attributes supply extra information about an HTML element and are specified within the opening tag, enhancing the tag's functionality .

Standard Generalized Markup Language (SGML) is a standard for defining generalized markup languages for documents. HTML, as a specific application of SGML, uses predefined tags to describe the structure and presentation of content on the web. SGML serves as the foundation that allows HTML to function consistently across different platforms and web browsers, underpinning the fundamental syntax and rules that HTML follows in web page creation .

The two basic tools required to work with HTML are an HTML Editor and a Browser. The HTML Editor is used for creating and saving documents, while the Browser is used to view these documents .

You might also like