2014-05-22 3 views
0

내 웹 사이트에서 2 개의 필드를 만들고 싶지만 잘못된 것이 있습니다 ... 두 필드가 그 자체로 표시되고 마지막 단어가 표시되지 않았습니다.필드 세트 조정

내 HTML

[내 영어 죄송합니다] 제발 도와주세요 :

<table rows="1" cols="2"> 
    <tr> 
     <td valign="top"> 
      <fieldset> 
       <legend><font size="+1">Tovar</font></legend> 
       <br> 
       <input type="checkbox" name="bateria"> Použitá jednorazová baterka 
       <br> 
       <input type="checkbox" name="rozok"> Celozrnný rožok 
       <br> 
       <input type="checkbox" name="auto> Neviditeľné auto 
     </fieldset> 
    <td valign="top" width="50%"> 
     <fieldset> 
     <legend><font size="+1"> Spôsob platby </font></legend> 
     <br> 
     <input type="radio" name="platba"> Master Card 
     ... 

답변

0

세 번째 체크 박스에 이름 속성에 따옴표 누락이

<input type="checkbox" name="auto> 

될해야

<input type="checkbox" name="auto"> 

전체 코드 :

<table rows="1" cols="2"> 
    <tr> 
     <td valign="top"> 
      <fieldset> 
       <legend><font size="+1">Tovar</font></legend> 
       <br> 
       <input type="checkbox" name="bateria"> Použitá jednorazová baterka 
       <br> 
       <input type="checkbox" name="rozok"> Celozrnný rožok 
       <br> 
       <input type="checkbox" name="auto"> Neviditeľné auto 
     </fieldset> 
    </td> <!-- <== Missing </td> here and you are missing a double quote in the name attribute in the third checkbox --> 
    <td valign="top" width="50%"> 
     <fieldset> 
     <legend><font size="+1"> Spôsob platby </font></legend> 
     <br> 
     <input type="radio" name="platba"> Master Card 
     ... 
+0

td 요소의 끝 태그는 선택 사항입니다. (그리고 막대한 코드 블록의 중간에 주석을 달아 놓기 때문에 변경 사항은 매우 명확하지 않습니다.) – Quentin

+0

@Quentin 어떻게이 거대한 블록 중간에 댓글을 찾아 냈습니까? –

+0

나는 오랫동안 그것을 꼼짝 않고 바라 보았고 "왜 마지막 몇 줄을 들여다 보면 도움이 될까요?" – Quentin