I am looking for an output like below using html
Creative agency:(?) *
I am writing the code something like below…
<td class="TextLabelForHeader" width="300px">
Creative Agency:<h6 id="/contracts/HelpContent/Creative%20Agency.txt">()</h6>
<asp:RequiredFieldValidator ID="RequiredFieldValidatorCreativeAgency" runat="server"
ControlToValidate="txtCreativeAgency" ErrorMessage="*" ValidationGroup="VGPageGeneral">
</asp:RequiredFieldValidator>
</td>
But I am getting the output something like below in broswer…
Creative agency:
(?)
*
Can please someone help me with this….
Thanks
Header tags, such as
H6are block elements. Block elements take up the entire width of their containers.Either:
Make
H6an inline element using CSS:h6 {display:inline};or
Use the semantically-correct HTML element for this purpose, in this case a
<label>.