kevin2,
<!doctype html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style type="text/css">
.row{
border: 4px solid #006400;
margin: 10px;
}
.col{
border: 2px solid #0000CD;
margin: 10px;
}
form{
border: 2px solid #FFD700;
margin: 10px;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(function() {
var form = "<form></form>";
var selectmark = "<select></select>";
var text = "some text";
var row = "<div class='row'></div>"
text = document.createTextNode(text);
var row = $(row);
$(form).appendTo("body").append(row);
row.append(text, $(selectmark))
.contents().wrap("<div class='col'></div>")
});
</script>
</head>
<body>
</body>
</html>