Hi.
Im makin a simple program to write some html code out.

I need to know how to do 2 thing's.

1) how do i write " into the code without having it Error on me ?

at the moment it is

VB Code:
  1. temp = "<body bgcolor=" & textbg &"alink=" & text1 & " vlink=" & text2 & " >"

but i want it to go to the html = of

<body bgcolor="textbg" alink="text1" vlink="text2" >

but i know if i add the " just like

temp = "<body bgcolor="" & textbg ....

it will error

any help?

2)

i want to add new lines into it, via the code. so it look like standart html code.

<html>
<head>
<title> text title </title>
</head>

Please help.

Wayne