Net HTML缩进函数
没有太多的运气“谷歌”这个,因为他们认为我想在网上做 VB.net中是否有接受字符串的内置函数Net HTML缩进函数,html,vb.net,pretty-print,Html,Vb.net,Pretty Print,没有太多的运气“谷歌”这个,因为他们认为我想在网上做 VB.net中是否有接受字符串的内置函数 Private Function PrettyPrintHTML(byval str as string) as string 'Do Pretty Things Here Return PrettyThing End Function 乙二醇 ValueUsername: 并将在正确的位置输出缩进,即 <html> <head> <title
Private Function PrettyPrintHTML(byval str as string) as string
'Do Pretty Things Here
Return PrettyThing
End Function
乙二醇
ValueUsername:
并将在正确的位置输出缩进,即
<html>
<head>
<title>Value</title>
</head>
<body>
<div>
<label> Username:
<input id="username"/>
</label>
</div>
</body>
</html>
价值观
用户名:
我正在尝试将格式正确的字符串输出到屏幕。您是从编程的角度(例如,您的代码应该更改此字符串)还是从IDE的角度(例如,您希望在Visual Studio中对代码进行良好的格式设置)?代码:)我将编辑问题,因为我本可以帮助处理另一个问题。我不知道内置了什么(但这并不意味着没有什么,可能是第三方组件)。
<html>
<head>
<title>Value</title>
</head>
<body>
<div>
<label> Username:
<input id="username"/>
</label>
</div>
</body>
</html>