Skip to content

Instantly share code, notes, and snippets.

@yussufbiyik
Last active July 15, 2020 22:55
Show Gist options
  • Save yussufbiyik/540d479d660a9ccbc6981b1ef893eab8 to your computer and use it in GitHub Desktop.
Save yussufbiyik/540d479d660a9ccbc6981b1ef893eab8 to your computer and use it in GitHub Desktop.
HTML to Char Example
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Example Page</title>
</head>
<body>
<!-- Example Page Content -->
</body>
</html>
char *html = "<!DOCTYPE html>"
"<html lang='en'>"
"<head>"
"<meta charset='UTF-8'>"
"<meta name='viewport' content='width=device-width, initial-scale=1.0'>"
"<title>Example Page</title>"
"</head>"
"<body>"
"<!-- Example Page Content -->"
"</body>"
"</html>";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment