Question
use inline CSS to style elements of a webpage. Write an HTML document that has all the following components. Your source code should include: -
use inline CSS to style elements of a webpage. 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. Use inline CSS to do the following:
- 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 level one heading.
-Specify a text color for the first paragraph, different from any of the previous ones.
-Specify a text color for the second paragraph, different from any of the previous ones.
Use color names for all the colors in this assignment. Here is a link to a website with HTML Color Names. 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started