Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi prix2,
I guess u want to check the syntax of the html code and to find if there are any missing tags.
Create a file which contains tags in pair.
eg. <html></html><head></head>...
leave a line between each pair and save the file as somename.log
Write some code to find strings which starts with < and ends with > once tats done cross verify that tag with the log file using file opearations in C. Check if that tag ends with a closing tag. or check for typo errors. u can also specify certain tags in the log files as tags without closing tags using key words in log files..some thing like #NO#. U can add stuffs like checking for attributes and so on.. .. thereby creating ur own compiler for html codes... :)

![]() |
synchronise 2 folder stru...
|
DOS batch to move files o...
|
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |