1

<!-- DOCTYPE declaration --> <!DOCTYPE html> <!-- HTML boilerplate code --> <html lang="en">    <!-- head...

Question

<!-- DOCTYPE declaration --> <!DOCTYPE html> <!-- HTML boilerplate code --> <html lang="en">    <!-- head...

<!-- DOCTYPE declaration -->
<!DOCTYPE html>
<!-- HTML boilerplate code -->
<html lang="en">
   <!-- head tag -->
   <head>         
       <meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Personal Webpage</title>
   </head>

   <!-- body tag -->
    <body>         
   <style>
       .sidenav {
           height: 100%;
            width: 160px;
           position: fixed;
           z-index: 1;
            top: 0;
           left: 0;
           background-color: #111;
           overflow-x: hidden;
           padding-top: 20px;
       }

       .sidenav a {
           padding: 6px 8px 6px 16px;
           text-decoration: none;
           font-size: 25px;
           color: #818181;
           display: block;
       }

       .sidenav a:hover {
           color: #f1f1f1;
       }

       .centerImage {
            text-align:center;
            display:block;
       }

       .main {
          margin-left: 160px; /* Same as the width of the sidenav */
           font-size: 28px; /* Increased text to enable scrolling */
           padding: 0px 10px;
       }
   </style>
       <div class="sidenav">
       <a href="index.html">Home</a>
       <a href="resume.html">Resume</a>
       <a href="projects.html">Projects</a>
       <a href="contact.html">Contact</a>
       <a href="social.html">Social</a>
       </div>

      
       <div class="main">
           <h2>Megumin</h2>
           <p>This is my personal webpage to introduce myself.</p>
           <p>This my photo.</p>
           <center>
           <img src="./images/photo.jpg" alt="centered image" height="680" width="500">
           </center>
       </div>
   </body>
</html>

Please help me to fix the problem in W3C Markup Validator

Answers

Ans)You cannot use tags like center for w3c validator:

blow code will work fine

----------------------------------------------------------------------------------------------------------------------------------------

<!-- DOCTYPE declaration -->

<!DOCTYPE html>

<!-- HTML boilerplate code -->

<html lang="en">

   <!-- head tag -->

   <head>         

       <meta http-equiv="content-type" content="text/html; charset=UTF-8">

<title>Personal Webpage</title>

<style>

    .sidenav {

        height: 100%;

         width: 160px;

        position: fixed;

        z-index: 1;

         top: 0;

        left: 0;

        background-color: #111;

        overflow-x: hidden;

        padding-top: 20px;

    }

    .sidenav a {

        padding: 6px 8px 6px 16px;

        text-decoration: none;

        font-size: 25px;

        color: #818181;

        display: block;

    }

    .sidenav a:hover {

        color: #f1f1f1;

    }

    .centerImage {

         text-align:center;

         display:block;

    }

    .main {

       margin-left: 160px; /* Same as the width of the sidenav */

        font-size: 28px; /* Increased text to enable scrolling */

        padding: 0px 10px;

    }

    .main .img{

        text-align: center;

       

    }

</style>

   </head>

   <!-- body tag -->

    <body>         

   

       <div class="sidenav">

       <a href="index.html">Home</a>

       <a href="resume.html">Resume</a>

       <a href="projects.html">Projects</a>

       <a href="contact.html">Contact</a>

       <a href="social.html">Social</a>

       </div>

      

       <div class="main">

           <h2>Megumin</h2>

           <p>This is my personal webpage to introduce myself.</p>

           <p>This my photo.</p>

          <div class="img">

           <img src="./images/photo.jpg" alt="centered image" height="680" width="500">

           </div>

       </div>

   </body>

</html>

--------------------------------------------------------------------------------------------------------------------------------------


Similar Solved Questions

2 answers
Which sentences use's iambic feet
Which sentences use's iambic feet? It can be more than one.1."My songs do tell how true thou art" (Sir Thomas Wyatt,1557)2."Whatever fades, but fading pleasure brings." (Sir Philip Sidney,1598)3."And the night is a-cold." (William Blake,1783)4."The world is too much w...
3 answers
How do you prove #sec^2x-2secxcosx+cos^2x=tan^2x-sin^2x# ?
Prove: #sec^2x-2secxcosx+cos^2x=tan^2x-sin^2x# I boiled it down to each side being 1 but I don't think I did it all the way correctly....
1 answers
Question 4 1 pts The University is considering the level of light to provide at night...
Question 4 1 pts The University is considering the level of light to provide at night on campus. Cynthia and Shirley are the only students who work on campus at night. Cynthia's marginal benefit for light is given by MBCynthia = 40 - 4Q, where Q is the brightness of light; while Shirley's ma...
1 answers
Moist air at 300C and 50% RH enters a dehumidifier operating at steady state with a...
Moist air at 300C and 50% RH enters a dehumidifier operating at steady state with a volumetric flowrate of 280 m3/min. the moist air passes over the refrigerating coil and water condenses. The condensate leaves at 100C. Saturated moist air leaves in a separate stream at the same temperature. There i...
1 answers
D) certificate of deposit 52) Which of the following is used to back international sales of...
D) certificate of deposit 52) Which of the following is used to back international sales of goods and services? A) commercial paper B) bankers' acceptance C) eurodollar deposits D) certificate of deposit 52)...
1 answers
Shawn Bixby borrowed $18,000 on a 150-day, 11% note. After 60 days, Shawn paid $2,100 on...
Shawn Bixby borrowed $18,000 on a 150-day, 11% note. After 60 days, Shawn paid $2,100 on the note. On day 90, Shawn paid an additional $4,100. Use ordinary interest. a. Determine the total interest use the U.S. Rule. (Do not round intermediate calculations. Round your answer to the nearest cent.) b....
1 answers
Provide an interpretation of the following five arterial blood gas results. (10) PCO 35-45 mmHg HCO...
Provide an interpretation of the following five arterial blood gas results. (10) PCO 35-45 mmHg HCO 22-28 mmol/L BE pH 7.35-7.45 Reference Range +/-3 Results to be interpreted 32 -12 1 7.19 14 2 28 9 7.64 30 3 7.14 30 9.8 -18 4 7.44 40 35 10 5 48 7.56 40 16 Nm n...
1 answers
Item 4 In the case below, the original source material is given along with a sample...
Item 4 In the case below, the original source material is given along with a sample of student work. Determine the type of plagiarism by clicking the appropriate radio button. Original Source Material Student Version Television and radio editorials--when they rarely occur--are usually blan...
1 answers
00 Use the calculator provided to solve the following problems. • Suppose that y follows a...
00 Use the calculator provided to solve the following problems. • Suppose that y follows a chi-square distribution with 8 degrees of freedom. Compute P(Asy's 12). Round your answer to at least three decimal places. • Suppose again that y follows a chi-square distribution with 8 degrees...
1 answers
Forces
A crate is hanging from a rope which is attached to a metal ring through which a second rope runs, as shown in the picture above. What is theangle θ if the tension in rope 1 is .970 times the tension in rope 2?...
1 answers
2NH3(g) + 3O2(g) + 2CH4(g) 2HCN(g) + 6H2O(g) ?H°f (kJ mol-1) S° (J K-1 mol-1) NH3(g)...
2NH3(g) + 3O2(g) + 2CH4(g) 2HCN(g) + 6H2O(g) ?H°f (kJ mol-1) S° (J K-1 mol-1) NH3(g) -46 193 O2(g) 0 205 CH4(g) -75 186 HCN(g) 135.1 202 H2O(g) -242 189 The above reaction is used in the industrial production of hydrogen cyanide. (The tabulated values ?H°f and S° ...
1 answers
QUESTION 1 Step 1 You work for Thunderduck Custom Tables Inc. This is the first month...
QUESTION 1 Step 1 You work for Thunderduck Custom Tables Inc. This is the first month of operations. The company designs and manufactures specialty tables. Each table is specially customized for the customer. This month, you have been asked to develop and manufacture two new tables for customers. Yo...
1 answers
What is the equation of the tangent line of # f(x)=1/x+1 # at # x=2 #?
What is the equation of the tangent line of # f(x)=1/x+1 # at # x=2 #?...
1 answers
5.8.6 otherwise. (a) Find the correlation rx.y (b) Find the covariance Cov(X,Y]. 5.8.6 The random variables...
5.8.6 otherwise. (a) Find the correlation rx.y (b) Find the covariance Cov(X,Y]. 5.8.6 The random variables X and Y have (b) Use part Cov oint PMF (c) Show tha Var[ (d) Combine Px,y and 5.8.10 Ran the joint PM PN,K (n, k) 0 0 Find (a) The expected values E[X] and EY, pected (b) The variances Va...
1 answers
A CLT student sticks himself with a used needle while performing venipuncture on a combative patient. Discuss the post...
A CLT student sticks himself with a used needle while performing venipuncture on a combative patient. Discuss the post exposure procedure he should follow. Make your discussion a quality response...
1 answers
Which of the indicated protons in the compound shown below will appear the most downfield in...
Which of the indicated protons in the compound shown below will appear the most downfield in the H NMR spectrum? D. IV How many signals would you expect in the H NMR spectrum of the compound shown below? A. 4 B. 5 C. 6 D. 7...

-- 0.050555--