1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
SOVA2 [1]
3 years ago
15

Personal Web Page Generator Write a program that asks the user for his or her name, then asks the user to enter a sentence that

describes himself or herself. Here is an example of the program's screens: Enter your name: Describe yourself: Once the user has entered the requested input, the program should create an HTML file, containing the input, for a simple Web page.
Computers and Technology
1 answer:
horsena [70]3 years ago
3 0

Answer:

// Python code

username=input("Type your name: ")

desc=input("Describe yourself: ")

f=open('profile.html','w')

html="<html>\n"+\

     "<head>\n"+\

     "</head>\n"+\

     "<body>\n"+\

     "<center>\n"+\

     "<h1>"+username+"</h1>\n"+\

     "</center>\n"+\

     "<hr/>\n"+\

     desc+"\n"\

     "<hr/>\n"+\

     "</body>\n"+\

     "</html>\n"

f.write(html)

f.close()

Code for profile.html file

<html>

<head>

</head>

<body>

<center>

<h1>Jon Doe</h1>

</center>

<hr/>

A software engineer working at a startup.

<hr/>

</body>

</html>

Explanation:

  • Get the name and description of user  as an input.
  • Write HTML content by opening the file.
  • Create and develop the essential HTML syntax.
  • Write the information into the HTML file and finally close the file.
  • Write the HTML code in the profile.html file.
You might be interested in
The user can close all the programs if he closes the open virtual desktop true false
steposvetlana [31]

The user cannot close all the programs if he closes the open virtual desktop.

<h3>What are virtual desktops?</h3>

A virtual desktop is a computer operating system that does not run directly on the endpoint hardware from which a user accesses it.  The desktop environment is separated from the physical device used to access it.

I call it a false desktop.

It is use to separate your work activities.

Therefore, the user cannot close all the programs if he closes the open virtual desktop.

learn more on virtual desktop here: brainly.com/question/14332029

#SPJ12

3 0
2 years ago
A palindrome number is a number that remains the same when its digits are reversed. Like 16461, for example, is a palindrome num
xxMikexx [17]

Answer:

Code is given below and output is attached as an image.

Explanation:

#include <iostream>

#include <fstream>

using namespace std;

bool isPalindrome(int n)

{

       // Find reverse of n

       int rev = 0;

       for (int i = n; i > 0; i /= 10)

               rev = rev * 10 + i % 10;

       // If n and rev are same,then n is a palindrome

       return (n == rev);

}

int main()

{

       int min = 1;        // Lower Bound

       int max = 200;      // Upper Bound

       ofstream myfile;

       myfile.open("palindrome.txt");

       for (int i = min + 1; i < max; i++)

               if (isPalindrome(i))

                       myfile << i << endl;

       myfile.close();

       return 0;

}

5 0
3 years ago
High-end tools in project management software have enterprise and _____ functions that summarize and combine individual project
e-lub [12.9K]

Answer:

Portfolio management  is the correct option.

Explanation:

Project management software is that type of software that is used to accomplish the management related works such as planning, organizing, summarizing and many other works related to the management.

So, project management software is used for functioning the enterprise and portfolio management functions by which the employee combines and summarizes project information.

8 0
3 years ago
Find out the names of at least 20 programming languages and their developers.
arlik [135]

Answer:

lala

Explanation:

6 0
2 years ago
Read 2 more answers
Next
andreyandreev [35.5K]

Answer:

sampling height

Explanation:

3 0
3 years ago
Other questions:
  • What is the name used for the integrated program development environment that comes with a Python installation?
    5·1 answer
  • Tanya is entering the amount of money she has earned from babysitting onto an Excel spreadsheet, but the AutoComplete feature is
    7·1 answer
  • The sun produces energy by the process of nuclear: <br><br> A.fission <br> B.fusion
    7·2 answers
  • Write a program that prompts the user to enter the year and the first three letters of a month name (with the first letter in up
    8·1 answer
  • What is NOT an issue associated with tag management systems? There is no automation available for tag management systems. Managi
    5·1 answer
  • Identify at least five different Information Technology careers that you could pursue in your home state, and choose the three t
    10·2 answers
  • The concept/theory where computer generated animation (especially humans) that is TOO life-like they become uncomfortable to us
    15·2 answers
  • What is the family access code right now?
    5·1 answer
  • Management of software development consist of?
    15·1 answer
  • 10010 - 1011 binary subtraction​
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!