Preview

IdentifyingHtmlTags RC

Satisfactory Essays
Open Document
Open Document
191 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
IdentifyingHtmlTags RC
1. What would be the syntax for printing “Hello Word” in bold and italics?
<p><b><i> Hello World <i><b><p>
2. How would you set the background color of your page to black?
<body bgcolor = #000000>…</body>
3. How would you center the text “Hello World” on your page?
<h1 align = “center”>
Hello World <br />
</h1>
4. How would you make the image C:\Images\Myimage.jpg appear on your page?
<img src= C:\Images\MyImage.jpg>
Tag
Usage
<html><html>
At the beginning and end of your document.
<body></body>
Represents the main content of the document.
<b></b>
Makes text bold
<p></p>
Adds a space in front of text defining it as a paragraph
<i></i>
Makes text it
<br>
Forces a line break
<body bgcolor=>
Sets the pages background color
<h1></h1>
Header 1
<h6></h6>
Header 6
<img src=”name”> Putting a graphic on a web page
<a href=”URL”></a> Indicates the URL being linked to.
<a href=”URL”><img src=”URL”><a>
Server looks at what web page is calling the image that information is given in the URL.
<p align=>
Allows you to align paragraph (Center, Right, Left)

You May Also Find These Documents Helpful