TextArea value is the HTML file source code, how to save the source code as an HTML file??
Such as
alert (OK);
1 floor
Dim filenamestr
Filenamestr = Trim (Request.Form ("FileName"))
Dim filecontentstr
Filecontentstr = Trim (Request.Form ("Filecontent"))
Set fs = CreateObject ("Scripting.FileSystemObject")
Dim FilePath
At the beginning of the study of HTML, you will encounter a problem such as HTML hollow lattice how to play? Some people may directly knock the space bar, but this is not correct, after all, the space bar is not a code, so the next article will introduce you to the HTML hollow lattice
In the HTML to write the page, in order to make the content of the Web page looks neat and smooth, we need to wrap the text content, then, HTML How to change the line? This article will introduce you to the HTML text wrapping method.
There are many ways of wrapping in HTML, the simplest of which is the use of
1, the
Several precautions during html code writing: html code
The vigilance in this article has nothing to do with browser compatibility. It is mainly a summary of several small problems that I encountered in my project. Although the problem is small, it is sometimes difficult for me to record here, if such problems occur in
HTML code reuse practices and html code reusePreface
We can see from the design diagram that some pages we do are the same. For example, the header, bottom, and sidebar. If you are creating static pages, you can copy and paste the repeated parts to a new page, if the number of pages goes up and the public part in the m
Why should we look at the ultra-practical HTML code segment and the ultra-practical html code segment?
I don't know how HTML is developed or how HTML5 evolves? View this figure
If more than half of you don't know, you must read this book,Alibaba frontline EngineerUse
Write html code in form, save it to the database after submission, and read it again. will these html code take effect? For example, enter the following code in the form: Red
The text field that is saved to the mysql database after submission. Then read the
Output the html string html code in jsp, and the string code in jsp
First:
Out. println ("
%>
Second:
Because the content is stored in HTML format, some HTML tags are displayed as they are not blocked during page display.
Copy Code code as follows:
Save chat log to Local
function Save_Record ()
{
Get current date as file name
var time=new Date ();
var filename=time.tolocaledatestring ();
Get part of current page
var record=$ ("#contentList"). html ();
Open a new window save
var winrecord=window.open (' About:blank ', ' _blank ', ' top=500 ');
WinRecord.document.open
This code is directly available, you might as well try.Please copy the The following form is the corresponding Please copy the The following form is the corresponding Please copy the Copyright copy; HTML code escaping to JS, often encounter problems, this code to achieve HTML
Finally, it solved the problem of [HTML] [/html] and [Code] [/Code] In dedecms. Because my PHP is not very skilled, I have been doing regular expressions for several days, only good. This time, we mainly modified the running and code functions of discuz5.5 and dedecms3.1. So
The value of textarea is the source code of an html file. How can we save the source code as an html file ??
For example
Alert (OK );
1st FloorDim fileNameStrFileNameStr = Trim (Request. Form ("fileName "))Dim fileContentStrFileContentStr = Trim (Request. Form ("fileContent "))Set fs = CreateObject ("Scripting. FileSy
Tags: Action field requires utf-8 modify EAL filter XML file substitutionWeb page garbled Solution String content = Teacher_mytask_detaillist.get (1) + "";//Get the field values in the database and replace them accordingly .Content = Content.replaceall ("Content = Content.replaceall (" #40;", "\ \"). ReplaceAll (" #41;", "\ \)");Content = Content.replaceall (" #39;", "'");Content = Content.replaceall (" #34;", "\" "); To replace the contents of the display with garbled characters Add a whitelist
Summary HTML optimization is the focus of internal optimization of the site, it may be easy for SEO novice to Ignore. The HTML code that conforms to the search engine habit is very advantageous to the seo, can let your website obtain the better search engine ranking. How to make a standard HTML page, how to do
Php code for deleting html tags and html tags in strings
This article introduces how to delete html tags in php and the two examples of html tags in strings. For more information, see.1. the example of deleting html tags
This article mainly introduces the code of the scroll bars in HTML, and the use of the HTML ScrollBar code marquee tag Properties, let's take a look at this article.
First we introduce the scroll bar code in HTML:
Today we introd
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.