Tamilnadu State Board New Syllabus Samacheer Kalvi 11th Computer Applications Guide Pdf Chapter 10 HTML – Structural Tags Text Book Back Questions and Answers, Notes.
Tamilnadu Samacheer Kalvi 11th Computer Applications Solutions Chapter 10 HTML – Structural Tags
11th Computer Applications Guide HTML – Structural Tags Text Book Questions and Answers
Part – I
Choose The Correct Answers
Question 1.
HTML is acronym for ______.
a) Hyper Transfer Markup Language
b) Hyper Text Markup Language
c) Hyper Transfer Makeup Language
d) Hyper Text Makeup Language
Answer:
b) Hyper Text Markup Language
Question 2.
The coded HTML keywords that indicates how web browser should format and display the content is called ______.
a) Tags
b) Attributes
c) Headings
d) Body
Answer:
a) Tags
Question 3.
Which of the following is a special word used inside tag to specify additional information to the tag?
a) Tags
b) Attributes
c) Headings
d) Body
Answer:
b) Attributes
Question 4.
HTML tags should be specified within:
a) [ ]
b) { }
c) ( )
d) < >
Answer:
d) < >
Question 5.
An HTML document is bounded within a pair of ______ tags.
a) <body> ….. </body>
b) <title> …… </title>
c) <html> …… </html>
d) <head> ….. </head>
Answer:
c) <html> …… </html>
Question 6.
Which of the following symbol is used to define a closing tag?
a) < >
b) %
c) /
d) \
Answer:
c) /
Question 7.
Which section of the browser window displays the main contents?
a) Head
b) Body
c) Title
d) Heading
Answer:
b) Body
Question 8.
Which of the following tag is a structural tag?
a) <html>
b) <hl>
c) <br>
d) <p>
Answer:
a) <html>
Question 9.
In HTML, colours are represented as ______.
a) Binary values
b) Octal values
c) Decimal values
d) Hexadecimal values
Answer:
d) Hexadecimal values
Question 10.
Which of the following symbol is used to prefix with hexadecimal value representing colour in HTML?
a) %
b) #
c) @
d) &
Answer:
b) #
Question 11.
Which of the following attribute is used to change text colour within body tag?
a) bgcolor
b) background
c) text
d) color
Answer:
c) text
Question 12.
Within body section, which of the following attribute is used to set top margin?
a) margin
b) top
c) topmargin
d) leftmargin
Answer:
c) topmargin
Question 13.
How many levels of heading tags available in HTML?
a) 6
b) 4
c) 8
d) 3
Answer:
a) 6
Question 14.
The tag used to insert a line break:
a) <h1>
b) <br>
c) <html>
d) <p>
Answer:
b) <br>
Question 15.
The tag used to define a paragraph in HTML:
a) <para>
b) <p>
c) <q>
d) <br>
Answer:
b) <p>
Part – II
II. Very Short Answers
Question 1.
Sandhiya is creating a webpage. She is entering HTML code on her computer. In between, she keeps pressing “Refresh” / “Reload” button on her browser. What is the purpose?
Answer:
Refresh will be used to refresh / reload the modifications on the webpage.
Question 2.
Explain with the help of an example the difference between container and empty elements of HTML.
Answer:
The HTML elements (Tags) can be classified as two types:
- Container elements
- Empty elements
Container Elements:
The tags which are required opening and closing is known as container elements or tags.
For example:
<html>, <body>, <title>, <p> etc.
Empty Elements:
The tags which are required only opening tag is known as empty elements or tags.
For example:
<br>
Question 3.
What is the wrong in the following coding?
<html>
<my web page>
<title> Welcome to my web page </head>
</title>
Answer:
1. Beginning of head section with <head> is missing.
2. </title> must be placed before </head>
3. No Body section
4. End of </html> is missing
5. Title content and Body contents are misplaced.
The Correct code:
Question 4.
How do you define comments in HTML?
Answer:
Comments are used to describe the page or provide some kind of indication of the status of the page. The tag <!> is used to create comments. In HTML, the text what you type within this tag is considered as comments and it is ignored by the browser. Comments never show up onscreen. Comments can be placed anywhere in HTML document.
The general form of comments:
<! comments>
Question 5.
How do you include an image as your web page background?
Answer:
An image or picture can be applied as background to a webpage. When we insert an image as background, the text will be displayed on top of the image. Background images can be a texture or bitmap or even a photo.
When we insert a small image, the browser takes the image and repeats it across and down to fill browser window.
The tag to apply an image as background: <body background = “image_name_with_ extension”>
Html Code To Insert Image As Background:
Output:
Part – III
Short Answers
Question 1.
Explain the attributes available with <body> tag.
Answer:
Attributes of <body> teg:
(i) Background Colour: bgcolor = color By default all the browsers display the text on white background. How ever the background color of the browser can be changed by using bgcolor tag.
(ii) Body text Colour: text = color
The default text colour of body section is “black”, it is often called as automatic color, text attribute within body tag is used to change the text colour,
The tag to change body text colour:
<body text = color_name/color_code>
(iii) Background image: background-image An image or picture can be applied as background to a webpage. When we insert an image as background, the text will be displayed on top of the image. Background images can be a texture or bitmap or even a photo.
Example:
<body background = “image_name_with_ extension”>
(iv) Setting Margins: margin = value
The margin refers the blank area from left or top edge of the browser window. Generally there is no default margin setting in any browser. If we want to leave some space as margin to left or top; leftmargin or topmargin attributes will be used respectively.
The tag to specify the left and top margin:
<body leftmargin = value topmargin = value>
Question 2.
What are the attributes available in <html> tags?
Answer:
<html> tag has two attributes viz. dir and lang to specify the text direction and language setting respectively.
Question 3.
How do you view the source file?
Answer:
Viewing Source file:
Source file is an HTML document, what we actually type in text editor (Notepad or getit). we can view your original source file in the browser. The following steps are to be followed to view a source file.
- Right click on the browser.
- Select View Page Source (Firefox and Chrome) / View Source (Internet Explorer) or Press Ctrl + U (All browser).
- Source tile will be displayed.
- In Internet Explorer, View → Source is also used to open source file.
Note that, we cannot edit the source file .opened using the above methods.
Question 4.
How do you save a file as HTML file?
Answer:
Save the file as HTML:
- Click File → Save (or) Press Ctrl + S.
- Save as dialog box appears as shown in the following diagram.
- In “File Name” text box, type a file name with .htm or .html extension.
- Select “All Files” from “Save as type” list box. Click. “Save” button.
11th Computer Applications Guide HTML – Structural Tags Additional Important Questions and Answers
Part – I
Choose The Correct Answers:
Question 1.
______ is a special markup language used to create webpages.
a) C++
b) HTML
c) HTTP
d) None of these
Answer:
b) HTML
Question 2.
language tells the browsers, how to display the text, images, animations and other contents of a hypertext document on the screen.
a) C++
b) HTML
c) HTTP
d) None of these
Answer:
b) HTML
Question 3.
______ language tells how to make a document interactive through special hyper links.
a) C++
b) HTML
c) HTTP
d) None of these
Answer:
b) HTML
Question 4.
HTML is not a ______.
a) Word processing tool
b) Programming language
c) Either A or B
d) None of these
Answer:
c) Either A or B
Question 5.
HTML is only a ______ specification language.
a) Markup
b) Page layout
c) Hyperlink
d) All the above
Answer:
d) All the above
Question 6.
______ language describes the structure of a document.
a) C++
b) HTML
c) HTTP
d) None of these
Answer:
b) HTML
Question 7.
HTML is made up of ______.
a) Tags
b) Attributes
c) Both A and B
d) None of these
Answer:
c) Both A and B
Question 8.
______ are known as elements of HTML.
a) Tags
b) Heading
c) Paragraph
d) None of these
Answer:
a) Tags
Question 9.
Additional information such as colour, alignment etc., can be included with an HTML tag is known as ______.
a) Property
b) Attribute
c) command
d) None of these
Answer:
b) Attribute
Question 10.
______ are used to improve the appearance of an HTML document.
a) Tags
b) Structures
c) Attributes
d) None of these
Answer:
c) Attributes
Question 11.
All HTML tags should be specified within ______ brackets.
a) Angle
b) Square
c) Curly
d) None of these
Answer:
a) Angle
Question 12.
HTML is ______.
a) case sensitive
b) not case sensitive
c) Neither A nor B
d) None of these
Answer:
b) not case sensitive
Question 13.
Entire HTML document is bounded within a pair of ______ tags.
a) <html> and </html>
b) <body> and </body>
c) <head> and </head>
d) <title> and </title>
Answer:
a) <html> and </html>
Question 14.
A HTML document contains ______.
a) hyperlinks
b) video
c) audio
d) all the above
Answer:
d) all the above
Question 15.
HTML ______ tag turn-on a feature.
a) Opening
b) Closing
c) head section
d) None of these
Answer:
a) Opening
Question 16.
HTML ______ tag turn-off its features.
a) Opening
b) Closing
c) head section
d) None of these
Answer:
b) Closing
Question 17.
______ is a opening tag.
a) <html>
b) <head>
c) <body>
d) All the above
Answer:
d) All the above
Question 18.
______ is a dosing tag.
a) <html>
b) <head>
c) </body>
d) None of these
Answer:
c) </body>
Question 19.
Every web document has ______ sections.
a) two
b) three
c) four
d) many
Answer:
a) two
Question 20.
Every web document has ______ section.
a) Head
b) Body
c) Both A and B
d) None of these
Answer:
c) Both A and B
Question 21.
The ______ section is used to show the title of a webpage in title bar or tab heading in browser.
a) Heading
b) Body
c) Both A and B
d) None of these
Answer:
a) Heading
Question 22.
The head section should begins with ______ tag.
a) <head>
b) </head>
c) <title>
d) <heading>
Answer:
a) <head>
Question 23.
The tag ______ is used to specify the title of the webpage.
a) <head>
b) </head>
c) <title>
d) <heading>
Answer:
c) <title>
Question 24.
The ______ section is used to display the main content on the browser window.
a) Head
b) Body
c) Both A and B
d) None of these
Answer:
b) Body
Question 25.
Whatever the text we specify between ______ tags will display on the browser window.
a) <html> and </html>
b) <body> and </body>
c) <head> and </head>
d) <title> and </title>
Answer:
b) <body> and </body>
Question 26.
_______ tag is known as structural tag.
a) <html>
b) <head> and <title>
c) <body>
d) All the above
Answer:
d) All the above
Question 27.
_______ tag Is basic essential element to construct a web page,
a) <html>
b) <head> and <title>
c) <body>
d) All the above
Answer:
d) All the above
Question 28.
The _______ tag contains information about the document,, Including Its title, scripts used, style definition and document descrlptlors.
a) <html>
b) <head>
c) <body>
d) All the above
Answer:
b) <head>
Question 29.
______ tag should be placed within <head> tag.
a) <html>
b) <tide>
c) <body>
d) None of these
Answer:
b) <tide>
Question 30.
The _______ tag endoses all the tags, attributes and Information to be displayed in the web page.
a) <html>
b) <title>
c) <body>
d) None of these
Answer:
c) <body>
Question 31.
_______ tag should be entered below the </head> tag.
a) <html>
b) <title>
c) <body>
d) None of these
Answer:
c) <body>
Question 32.
We can write, test and link web pages with a _____.
a) Internet connection
b) Web server
c) Web Hosting
d) All the above
Answer:
d) All the above
Question 33.
To create and testing a HTML document i.e. web page need a _______.
a) Text editor
b) Browser
c) Both A and B
d) None of these
Answer:
c) Both A and B
Question 34.
A simple text editor _______ for Windows used to create a HTML document.
a) Notepad
b) Getit
C) Either A or B
d) None of these
Answer:
a) Notepad
Question 35.
A simple text editor ______ for Linux used to create a HTML document.
a) Notepad
b) Getit
c) Either A or B
d) None of these
Answer:
b) Getit
Question 36.
will be used to refresh/ reload the modifications in the HTML document.
a) Ctrl + R
b) F5
C) Ctrl +R or F5
d) None of these
Answer:
C) Ctrl +R or F5
Question 37.
_______ are specIal words used Inside a tag to specify additional Information to a tag.
a) Attributes
b) Properties
c) Functions
d) None of these
Answer:
a) Attributes
Question 38.
Attributes should be placed within the _______ tag.
a) opening
b) dosing
c) outside
d) None of these
Answer:
a) opening
Question 39.
_______ is used to make browsers and otter programs, known that this is an HTML document.
a) <html>
b) <body>
c) <head>
d) <title>
Answer:
a) <html>
Question 40.
<html> tag has ______ attributes.
a) three
b) two
c) four
d) five
Answer:
b) two
Question 41.
<html> tag has _______ attribute.
a) dir
b) lang
c) dir and lang
d) none of these
Answer:
Question 42.
_______ attribute specifies the direction of the text to be aligned within the entire document.
a) dir
b) lang
c) align
d) none of these
Answer:
a) dir
Question 43.
_______ is global attribute.
a) dir
b) lang
c) align
d) none of these
Answer:
Question 44.
_______ is the default value of the dir attribute.
a) rtl
b) Itr
c) tob
d) btot
Answer:
b) Itr
Question 45.
_______ is the value of the dir attribute for Arabian languages.
a) rtl
b) Itr
c) tob
d) btot
Answer:
a) rtl
Question 46.
_______ attribute specify t%e language used with in the document.
a) dir
b) lang
c) align
d) none of these
Answer:
b) lang
Question 47.
Predefined language cod for English is _______.
a) EN
b)ENG
c) ENGUSH
d) None of these
Answer:
a) EN
Question 48.
Predefined language code for Tamil is _______.
a) TA
b) TL
c) TAM
d) None of these
Answer:
a) TA
Question 49.
By default M the browsers display th text on _______ background.
a) Black
b) White
c) Yellow
d) None of these
Answer:
b) White
Question 50.
The background color of the browser can be changed by using _______ tag.
a) bgcolor
b) bkcolour
c) backcolor
d) None of these
Answer:
a) bgcolor
Question 51.
______ Is the <body> tag attribute.
a) bgcolor
b) text
C) background
d) All the above
Answer:
d) All the above
Question 52.
The colors In HTML are represented as _______ digit hexadecimal values.
a) six
b) five
c) four
d) two
Answer:
a) six
Question 53.
______ will be more flexible to handle colors.
a) color code
b) colour name
c) either A or B
d) none of these
Answer:
a) color code
Question 54.
First two digits represent _______ colour valu. In the six digit hexadecimal valu.
a) Red
b) Green
c) Blue
d) None of these
Answer:
a) Red
Question 55.
Middle two digits represent _____ colour value in the six dIgit hexadecimal value.
a) Red
b) Green
c) Blue
d) None of these
Answer:
b) Green
Question 56.
Last two digits represent ______ colour value In the six digit hexadecImal value.
a) Red
b) Green
c) Blue
d) None of these
Answer:
c) Blue
Question 57.
The colour rang is _______.
a) 00 to FF
b) 11 to FF
c) AA t0 00
d) FF t0 AA
Answer:
a) 00 to FF
Question 58.
The colour code 000000 represent _______ colour.
a) Black
b) White
c) Bright Red
d) None of these
Answer:
a) Black
Question 59.
The colour code FFFFFF represent _______ colour.
a) Black
b) White
c) Bright Red
d) None of these
Answer:
b) White
Question 60.
The colour code FF0000 represent _______ colour.
a) Black
b) White
c) Bright Red
d) None of these
Answer:
c) Bright Red
Question 61.
The colour code 00FF00 represent _______ colour.
a) Green
b) White
c) Bright Red
d) None of these
Answer:
a) Green
Question 62.
The colour code 0000FF represent _______ colour.
a) Green
b) Blue
c) Bright Red
d) None of these
Answer:
b) Blue
Question 63.
The colour code COCOCO represent _______ colour.
a) Green
b) Silver
c) Bright Red
d) None of these
Answer:
b) Silver
Question 64.
The colour code 808000 represent _______ colour.
a) Olive
b) Silver
c) Bright Red
d) None of these
Answer:
a) Olive
Question 65.
The colour code for Grey colour is _______.
a) 808080
b) OOFFFF
c) 800000
d) None of these
Answer:
a) 808080
Question 66.
The colour code for Brown colour is _______.
a) 808080
b) 00FFFF
c) 800000
d) A52A2A
Answer:
d) A52A2A
Question 67.
The colour code for Purple colour is _______.
a) 808080
b) 00FFFF
c) 800000
d) 800080
Answer:
d) 800080
Question 68.
The colour code for Yellow colour is _______.
a) 808080
b) FFFF00
c) 800000
d) 800080
Answer:
b) FFFF00
Question 69.
The default text colour of body section is _______.
a) Black
b) White
c) Yellow
d) None of these
Answer:
a) Black
Question 70.
The tag to change body text colour is _______.
a) text
b) colour
c) btext
d) None of these
Answer:
a) text
Question 71.
The tag to apply an image as background is _______.
a) background
b) bgground
c) backimage
d) bgimage
Answer:
a) background
Question 72.
The attribute to specify the left margin is _______.
a) Leftmargin
b) Lmargin
c) LM
d) None of these
Answer:
a) Leftmargin
Question 73.
The attribute to specify the top margin is _______.
a) Tmargin
b) Topmargin
c) TM
d) None of these
Answer:
b) Topmargin
Question 74.
HTML has _______ levels of headings.
a) Five
b) Four
c) Six
d) Two
Answer:
c) Six
Question 75.
_______ is an attribute to set right, center and justify alignment to headings.
a) Align
b) Alignment
c) Justification
d) Justify
Answer:
a) Align
Question 76.
_______ is the value of Align attribute in Heading tag.
a) Justify
b) Center
c) Right
d) All the above
Answer:
d) All the above
Question 77.
Browsers do not recognize _______.
a) returns
b) tabs
c) more than one space between words
d) All the above
Answer:
b) tabs
Question 78.
The ______ tag is used for line break.
a) <Break>
b) <BR>
c) <HR>
d) None of these
Answer:
b) <BR>
Question 79.
The _______ is an empty tag.
a) <br>
b) <hr>
c) Both A and B
d) None of these
Answer:
c) Both A and B
Question 80.
The _______ tag does not have close tag.
a) <br>
b) <body>
c) Both A and B
d) None of these
Answer:
a) <br>
Question 81.
The _______ tag does not have attribute.
a) <br>
b) <body>
c) Both A and B
d) None of these
Answer:
a) <br>
Question 82.
In HTML, paragraphs are created using the _______ tag.
a) <P>
b) <Para>
c) <Paragraph>
d) None of these
Answer:
a) <P>
Question 83.
Identify the correct statement from the following.
a) The keyboard shortcut to change paragraph alignment in word processor is not working in HTML
b) To change the alignment of a paragraph align attribute can be used with <p> tag.
c) The tag <!> is used to create comments.
d) All the above
Answer:
d) All the above
Question 84.
_______ never show up onscreen.
a) Comments
b) Body section content
c) Both A and B
d) None of these
Answer:
a) Comments
Question 85.
The HTML elements (Tags) can be classified as _______ types.
a) Three
b) Two
c) Four
d) Five
Answer:
b) Two
Question 86.
_______ is the HTML elements (Tags).
a) Container elements
b) Empty elements
c) Both A and B
d) None of these
Answer:
c) Both A and B
Question 87.
The tags which are required opening and closing is known as _______ or tags.
a) Container elements
b) Empty elements
c) Both A and B
d) None of these
Answer:
a) Container elements
Question 88.
The tags which are required only opening tag is known as _______ or tags.
a) Container elements
b) Empty elements
c) Both A and B
d) None of these
Answer:
b) Empty elements
Question 89.
_______ is a container tag.
a) <html>
b) <bdoy>
c) <title>
d) All the above
Answer:
d) All the above
Question 90.
_______ is an empty tag.
a) <br>
b) <title>
c) <p>
d) None of these
Answer:
a) <br>
Question 91.
Text which contains links to other texts is called _______.
a) Hypertext
b) Hyperlink
c) Anchor
d) None of these
Answer:
a) Hypertext
Part – II
Very Short Answers
Question 1.
Write note on HTML.
Answer:
HTML is not a word processing tool or a programming language. It is only a markup or page layout and hyperlink specification language. It describes the structure of a document.
Question 2.
Write note on HTML code.
Answer:
HTML cod is made up of tags and its attributes.
Question 3.
Differentiate Tags and Attributes.
Answer:
Tags are known as elements of HTML.etc., can be included with an HTML tag is known as attribute. Attributes are used to improve the appearance of an HTML document.
Question 4.
What is opening tag and closing tag?
Answer:
Opening tag turn-on a feature such as heading, bold, center etc., and closing tag turn – off its features. Opening and closing tags are the same name, but closing tag name preceded by a slash (/). For example, <html> is an opening tag, </html> is a closing tab.
Question 5.
What are the sections of a web document?
Answer:
Every web document has two sections viz. Heading Section and Body Section.
Question 6.
Write note on heading section.
Answer:
The heading section is used to show the title of a webpage in title bar or tab heading in browser. The head section should begins with <head> tag and end with </head> tag. The tag <title> is used to specify the title of the webpage.
Question 7.
Write note on body section.
Answer:
The body section is used to display the main content on the browser window. The body section should defined within <body> and </ body> tags. Whatever the text we specify between these tags will display on the browser window.
Question 8.
What are the structural tags of HTML?
Answer:
<html>, <head>, <title> and <body> these four tags are known as structural tags. These tags are basic essential elements to construct a web page.
Question 9.
Write about <HTML> tag.
Answer:
- The <html> tag identified the document as an HTML document.
- All HTML documents should begins with <html> and end with </html>.
Question 10.
Write about <head> tag.
Answer:
The <head> tag contains information about the document, including its title, scripts used, style definition and document descriptions.
Question 11.
Write note on <title> tag.
Answer:
- The <title> tag contains the title of the document.
- The title specified between opening and closing tags appears in the title bar / page tab of the browser.
- <title> tag should be placed within <head> tag.
Question 12.
Write note on <body> tag.
Answer:
The <body> tag encloses all the tags, attributes and information to be displayed in the web page.
<body> tag should be entered below the </head> tag.
Part – III
Short Answers
Question 1.
What is HTML?
Answer:
HTML is a special markup language used to create web pages. This language tells the browsers, how to display the text, images, animations and other contents of a hypertext document on the screen. The language also tells how to make a document interactive through special hyper links.
Question 2.
Write the HTML Document Structure.
Answer:
HTML Document Structure:
Question 3.
What are the HTML writing tools?
Answer:
HTML Writing Tools:
- To get started writing HTML, there is no need of web server, web hosting or even Internet connection. We can write, test and link web pages without a network.
- To create and testing a HTML document i.e. web page need an application text editor to write HTML code and a browser to view them.
Question 4.
Write briefly about HTML attributes.
Answer:
- Attributes are special words used inside a tag to specify additional information to a tag. Attributes should be placed within the opening tag.
- Most of the tags support specialized attributes and there are also a few global elements that can be used with any tag.
- Global elements are common to all HTML elements; they can be used on all elements.
Question 5.
Create a web page (HTML document) to the following specification.
Answer:
Title: My First Web Page
Text to be display: Welcome to Computer Applications
Background color: Lime
Body text color: Blue
Margin: from left and top 1 inch
Html Code:
Question 6.
Explain comments in HTML.
Answer:
Comments are used to describe the page or provide some kind of indication of the status of the page. The tag <!> is used to create comments. In HTML, the text what we type within this tag is considered as comments and it is ignored by the browser. Comments never show up onscreen. Comments can be placed anywhere in HTML document.
The general form of comments:
<! comments >
Question 7.
Explain Container and Empty Elements.
Answer:
The HTML elements (Tags) can be classified as two types – (1) Container elements (2) Empty elements. ,
Container Elements:
The tags which are required opening and closing is known a.s container elements or tags. For example: <html>, <body>, <title>, <p> etc.,
Empty Elements:
The tags which are required only opening tag is known as empty elements or tags.
For example: <br>
Part – IV
Explain In Brief
Question 1.
Explain Heading tag with its attributes.
Answer:
Headings are used to include titles to sections of a web page. HTML has six levels of headings viz. <h1> to <h6>. The number with h indicates the level of heading, Header tags are display the body text as bolder and larger in size according to its level.
The syntax of heading tags:
<h,..> Heading text </h…>
Attribute of Headings tag: Align is an attribute to set right, center and justify’ alignment to headings. Left if the default alignment, so that it is not supported in latest version of HTML. Justify alignment is not supported by older browsers.
The tag is to specify the alignment to headings:
<h# align = value>
Where # is the level number, value may be Right, Center or Justify. Justify alignment only used for paragraphs.
HTML code with Heading and align attributes:
Output:
Question 2.
Explain Line Breaks and Paragraphs in HTML document.
Answer:
Browser applications are having some special rules for displaying text. They do not recognize returns, tabs or even more than one space between words. If we create an HTML document with multiple lines of text, browser will display it as a single line.
The <br> tag is used for line break. The <br> is an empty tag, does not have close tag and attribute. It should be placed at the end of a line.
In HTML, paragraphs are created using the <p> tag. The content what we type between <p> and </p> is identified as a paragraph and display as a paragraph by the browser. Because, the browser does not recognize returns.
HTML code to create a paragraph:
Output:
Changing Paragraph alignment
In HTML documents there are four paragraph alignments viz. Left, Right, Center and Justify. The text that we type between <p> and </p> is by default aligned to left. To change the alignment of a paragraph align attribute can be used with <p> tag.
The tag to specify the alignment to paragraphs:
<p align = alignment>
Where alignment can either be Right, Center or Justify. Note that, left is the default alignment.