$darkmode
Herb C Reference
html_util.h
Go to the documentation of this file.
1 #ifndef HERB_HTML_UTIL_H
2 #define HERB_HTML_UTIL_H
3 
4 #include <stdbool.h>
5 
6 bool is_void_element(const char* tag_name);
7 bool is_html4_void_element(const char* tag_name);
8 
9 char* html_opening_tag_string(const char* tag_name);
10 char* html_closing_tag_string(const char* tag_name);
11 char* html_self_closing_tag_string(const char* tag_name);
12 
13 #endif
char * html_self_closing_tag_string(const char *tag_name)
Creates a self-closing HTML tag string like "<tag_name />".
Definition: html_util.c:125
bool is_html4_void_element(const char *tag_name)
Definition: html_util.c:26
char * html_opening_tag_string(const char *tag_name)
Creates an opening HTML tag string like "<tag_name>".
Definition: html_util.c:56
char * html_closing_tag_string(const char *tag_name)
Creates a closing HTML tag string like "</tag_name>".
Definition: html_util.c:90
bool is_void_element(const char *tag_name)
Definition: html_util.c:12