I was following an amazingly informative video by Shane Young https://www.youtube.com/watch?v=2rfAQe1kK8M
I wish to use the action called OneDrive for Business – Create File, to create a HTML.
Tired input an Expression using an Expression of concat() with the HTML code copied inside it, but I keep getting an error message that says that the expression is invalid.
The code generates the table here:
The code is as follows:
Here is a example of my code for a webpage.
As you can see ( <meta charset=“UTF-8”> ) enter this between the <head> </head>
this is for character coding.
<!DOCTYPE html>
<html lang="en">
<title>W3.CSS</title>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<style>
input[type=text], select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
input[type=submit] {
width: 100%;
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
}
input[type=submit]:hover {
background-color: #45a049;
}
</style>
<body>
<div class="w3-panel">
<form>
<label for="fname">First Name</label>
<input type="text" id="fname" name="firstname" placeholder="Your name" required/>
<label for="lname">Last Name</label>
<input type="text" id="lname" name="lastname" placeholder="Your last name..">
<input class="w3-radio" type="radio" name="gender" value="male" checked>
<label>Male</label>
<input class="w3-radio" type="radio" name="gender" value="female">
<label>Female</label>
<br/>
<br/>
<label for="country">Country</label>
<select id="country" name="country">
<option value="australia">Australia</option>
<option value="canada">Canada</option>
<option value="usa">USA</option>
<option value="New Zealand">New Zealand</option>
</select>
</form>
</div>
<br/>
<div class="form-group">
<textarea class="form-control" cols="30" rows="10" placeholder="comments here"></textarea>
</div>
<button class="w3-btn w3-blue">Submit</button>
</body>
</html>
I still have the error but I have made a few changes since posting which I thought I should make those of you trying to assist me aware of.
After checking it over visually I found I am not familiar enough with HTML to identify the error, so I turned to sites which would check the HTML code for me and notify me what specifically is the source of the errors. The first site of this nature I tried was https://www.freeformatter.com/html-validator.html
It found 16 issue:
1)
The character encoding was not declared. Proceeding using “windows-1252”.
Code Extract:
Issue 1 is not of concern for me.
2)
Element “head” is missing a required instance of child element “title”.
From line 13, column 1 to line 13, column 7
Code Extract: ↩</style></head>↩
3)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 33, column 78 to line 34, column 5
Code Extract: /div></td↩</tr>↩<!—
4)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 39, column 92 to line 40, column 5
Code Extract:
ocess</td↩</tr>↩↩<!-
5)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 54, column 49 to line 55, column 5
Code Extract:
/div></td↩</tr>↩<!--
6)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 69, column 42 to line 70, column 5
Code Extract:
/div></td↩</tr>↩<!--
7)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 84, column 42 to line 85, column 5
Code Extract:
/div></td↩</tr>↩<!--
😎
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 99, column 42 to line 100, column 5
Code Extract:
/div></td↩</tr>↩<!--
9)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 114, column 42 to line 115, column 5
Code Extract:
/div></td↩</tr>↩<!--
10)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 129, column 42 to line 130, column 5
Code Extract:
/div></td↩</tr>↩<!--
11)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 144, column 42 to line 145, column 5
Code Extract:
/div></td↩</tr>↩<!--
12)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 159, column 42 to line 160, column 5
Code Extract:
/div></td↩</tr>↩<!—
13)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 174, column 42 to line 175, column 5
Code Extract:
/div></td↩</tr>↩<!--
14)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 181, column 81 to line 182, column 5
Code Extract:
/div></td↩</tr>↩<!--
15)
A table row was 12 columns wide, which is less than the column count established by the first row (13).
From line 187, column 57 to line 188, column 5
Code Extract:
/div></td↩</tr>↩↩</t
16)
Table column 13 established by element “td” has no cells beginning in it.
From line 23, column 66 to line 24, column 20
Code Extract:
/div></td↩ <td colspan="3"><p>Na
Issue 2 was solved by Including <title>Don’t panic! This is the title</title> within the <head> section.
The issues between point 3 and 15 were all the same and solved by changing Row A to the following:
<!-- Row A -->
<tr>
<td colspan="3">Part No.: </td>
<td colspan="7">Product Record</td>
<td colspan="2">Name: </td></tr>
This also solved issue 16.
Despite solving all these issues I still got the error message informing me that the expression is still not valid.
rpersad
16
David_MA
10
Super User 2025 Season 1
Michael E. Gernaey
8
Super User 2025 Season 1