Please code in java and follow the instructions as it is.. Dont use very advanced methods. refer the images provided Browsers, such as Chrome or Firefox, are applications designed to open and view HTML files. HTML is the basic formatting rules used for all web pages. In an HTML file, tags surround text elements to tell the browser how that text should be displayed. Suppose that you're a blogger and want to convert your plain text into an HTML blog post which consists of the following: topic header, image, text paragraph, & accreditation. See image Facts: ● HTML tags All html data goes between html tags ● Body tags All text/images goes between body tags ● Heading tags Header text goes between heading tags ● Image tag Image file path goes within an image tag ● Paragraph tags Basic text goes between paragraph tags ● Small tags Small text goes between small tags Input Your solution must take in five text inputs. Each input is on its own line and may contain multiple words. The first input represents the blog's header. The second input is the image's file path. The third input is the post's text. The fourth input is the blog's author. The fifth input is the post's date formatted as mm/dd/yyyy. Output The output should produce the appropriate HTML text for the blog post. See the sample output below as a guide. There should be no spaces between html elements.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Please code in java and follow the instructions as it is.. Dont use very advanced methods. refer the images provided

Browsers, such as Chrome or Firefox, are applications designed to open and view
HTML files. HTML is the basic formatting rules used for all web pages. In an HTML file,
tags surround text elements to tell the browser how that text should be displayed. Suppose that
you're a blogger and want to convert your plain text into an HTML blog post which consists
of the following: topic header, image, text paragraph, & accreditation. See image
Facts:
● HTML tags <html></html> All html data goes between html tags
● Body tags <body></body> All text/images goes between body tags
● Heading tags <h1></h1> Header text goes between heading tags
● Image tag <img src="path/to/file" /> Image file path goes within an image tag
● Paragraph tags <p></p> Basic text goes between paragraph tags
● Small tags <small></small> Small text goes between small tags
Input
Your solution must take in five text inputs. Each input is on its own line and may contain multiple
words. The first input represents the blog's header. The second input is the image's file path. The
third input is the post's text. The fourth input is the blog's author. The fifth input is the post's date
formatted as mm/dd/yyyy.
Output
The output should produce the appropriate HTML text for the blog post. See the sample output
below as a guide. There should be no spaces between html elements.

input/scanner
output/print
storage/variable
P1 Solutions limited in scope to:
• arithmetic
modulus
logical
relational
equality
casting
Transcribed Image Text:input/scanner output/print storage/variable P1 Solutions limited in scope to: • arithmetic modulus logical relational equality casting
index.html
1 <html>
<body>
7
8 </html>
</body>
<h1>My Blog Header</h1>
<img src='https://via.placeholder.com/350x150> My Blog Header
<p>My blog text for this particular post.</p>
<small>By Ted, 08/01/2018</small>
Sample Input
Header
image.png
text description
me
index.html
08/01/2018
file:///Users/ted/Code/autograder/xcratch/index.html
350 x 150
My blog text for this particular post.
By Ted, 08/01/2018
Sample output
<html><body><h1>Header</h1><img src='image.png
><p>text description</p><small>By me,
08/01/2018</small></body></html>
D
Tod
O
Transcribed Image Text:index.html 1 <html> <body> 7 8 </html> </body> <h1>My Blog Header</h1> <img src='https://via.placeholder.com/350x150> My Blog Header <p>My blog text for this particular post.</p> <small>By Ted, 08/01/2018</small> Sample Input Header image.png text description me index.html 08/01/2018 file:///Users/ted/Code/autograder/xcratch/index.html 350 x 150 My blog text for this particular post. By Ted, 08/01/2018 Sample output <html><body><h1>Header</h1><img src='image.png ><p>text description</p><small>By me, 08/01/2018</small></body></html> D Tod O
Expert Solution
steps

Step by step

Solved in 4 steps with 4 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY