Hi Guy's and a happy new year to you all
I have been looking to HTML email body, I already use html quite a lot, I have found a site which is quite useful https://www.w3schools.com/html/html_examples.asp
I am trying to integrate into my existing html code for example a date picker, whilst I have the code taken from the html examples site, i am unsure if i need quotes or characters to add into my code ?
taken from examples
Code:
<!DOCTYPE html><html>
<body>
<h1>Display a Week Input Control</h1>
<p>The <strong>input type="week"</strong> allows the user to select a week and year.</p>
<p>If the browser supports it, a date picker pops up when entering the input field.</p>
<form action="/action_page.php">
<label for="week">Select a week:</label>
<input type="week" id="week" name="week">
<input type="submit" value="Submit">
</form>
<p><strong>Note:</strong> type="week" is not supported in Firefox, Safari or Internet Explorer 11.</p>
</body>
</html>
Result of examples
Display a Week Input Control
The input type="week" allows the user to select a week and year.
If the browser supports it, a date picker pops up when entering the input field.
Select a week: Note: type="week" is not supported in Firefox, Safari or Internet Explorer 11.
My code, I have tried to add in the html between c and d string
Code:
Dim a as string, b as string etc....
a = myGreet
b = "Thank you for looking at this email"
c = "You can select a different week than what we currently have allocated for you."
.HTMLBody = a & "<br>" & "<br>" & b & "<br>" & "<br>" & c & "<br>" & "<br> " & _
<label for="week">Select a week:</label> TRIED ADDING THIS LINE AND ADDING QUOTES AND a "<br>" new line
<input type="week" id="week" name="week"> TRIED ADDING THIS LINE AND ADDING QUOTES AND a "<br>" new line
<input type="submit" value="Submit"> TRIED ADDING THIS LINE AND ADDING QUOTES AND a "<br>" new line
d & "<br>" & e & "<br>" & "<br>" & f & "<br>" & "<br>" & g & "<br>" & "<br>" & h & "<br>" & "<br>" & _
d & "<br>" & "<br>" & "<B/>" & i2 & "<B/>" & "<a href=" & Q & SafetyMsg & Q & "> https://www.website removed on here/client-safety </a>" & "<br>" & "<br>" & _
d & "<br>" & "<B/>" & j & "<B/>" & "<br>" & "<br>" & "<B/>" & k & "<B/>" & "<a href=" & Q & BookingLink & Q & "> https://www.website removed on here/client-bookings </a>" & " Reference " & " " & RecNo & "<br>" & "<br>" & _
"<B/>" & l & "<B/>" & "<a href=" & Q & reBook & Q & "> https://www.website removed on here.com/re-book </a>" & "<br>" & "<br>" & _
r & "<br>" & "<br>" & _
s & "<br>" & "<br>" & _
"<P><IMG border=0 hspace=0 alt='' src='file://T:/" & SigFile & "' align=baseline></P>" & "<br>" & "<br>" & _
"<FONT color=#0000CD>" & eDisc & "<br>" & "<FONT color =#0000CD>" & eDisc2
.SendUsingAccount = OutAccount
Thank you for any advice