更改预制HTML

时间:2019-04-15 20:51:35

标签: html

我正在为我父亲的商店建立一个简单的网站。他通过电话将杂货店送货到当地。他现在想通过一个网站来为客户提供更多便利。我复制了预制模板,并根据他的需要进行了更改。我快完成了,但是一件事一直给我带来了麻烦。

我想更改图片之一的背景img,即使用的模板,但我根本无法弄清楚代码中提到img的位置。然后,作为实验,我将图片移出了文件夹,网站持有人为空白,表明正在调用img。然后我放回img,它又重新开始正常工作。

<h5><a id="OrderT"></a></h5>
            <section class="reservation-area section-gap relative">
                <div class="overlay overlay-bg"></div>
                <div class="container">
                    <div class="row justify-content-between align-items-center">
                        <div class="col-lg-6 reservation-left">
                            <h1 class="text-white">Preorder or Delivery </h1>
                            <p class="text-white pt-20">
                                Here you can make your order either for pickup or delivery.  If you are asking for delivery, we ask that at the end of the order, you place your address there.  Pickup means you plan to come by and we will have your order ready for a quick payment instead of looking around for what you want.
                            </p>
                        </div>
                        <div class="col-lg-5 reservation-right">

                            <form name="contactform" method="post" action="email.php">
<table width="450px">
<tr>
 <td valign="top">
  <label for="first_name"></label>
 </td>
 <td valign="top">
  <input  type="text" placeholder="Name*" name="first_name" maxlength="50" size="51" required>
 </td>
</tr>
 <td valign="top">
  <label for="email"></label>
 </td>
 <td valign="top">
  <input  type="text" placeholder="Email*" name="email" maxlength="80" size="51" required>
 </td>
</tr>
<tr>
 <td valign="top">
  <label for="telephone"></label>
 </td>
 <td valign="top">
  <input  type="text" placeholder="Number*" name="telephone" maxlength="30" size="51" required>
 </td>
</tr>
<tr>
 <td valign="top">
  <label for="order"></label>
 </td>
 <td valign="top">
  <textarea  name="order" required placeholder="Order*" style="width:400px; height:150px;" cols="25" rows="6"></textarea>
 </td>
</tr>
<tr>
 <td colspan="2" style="text-align:center">
  <input type="submit" value="Submit">   <a href="email.php"></a>
 </td>
</tr>
</table>
</form>                 
</section>

现在,有一个比萨饼的img图像,但这是一家杂货店,我父亲不卖比萨饼,所以我想更改它。只是看了一段时间的代码,甚至不确定它是如何工作的。

0 个答案:

没有答案