Question: you will use embedded CSS to style elements of a webpage, hexadecimal color codes to specify colors, and inline CSS to override a style specified

you will use embedded CSS to style elements of a webpage, hexadecimal color codes to specify colors, and inline CSS to override a style specified by the embedded CSS. Write an HTML document that has all the following components. Your source code should include:

a DTD

opening and closing html tags

the lang attribute to set the language of the entire document to English

a head section

a title

a meta tag to define the character set as UTF-8

a body section

a level 1 heading

two paragraphs

some text that is NOT in a paragraph or in a heading

Use embedded CSS to:

Specify a background color and a text color for the entire document

Specify a different text color for the level one heading

Center the text in the heading

Specify a text color for the paragraphs, different from any of the previous ones

Use inline CSS to:

change the text color of just one or two words within the first paragraph (Hint: use the span tag)

Use hexadecimal color codes for all the colors in this assignment. You may use any colors you like, but test your code in a browser to make sure that the text is clearly visible on the page. If it isn't, change the colors. Make sure that your document has all the proper closing tags that go with the opening tags. Write your source code in a text editor (such as Notepad or TextEdit), and remember to save it with the extension .html or .htm

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!