{"id":616,"date":"2026-11-10T04:46:30","date_gmt":"2026-11-10T04:46:30","guid":{"rendered":"https:\/\/wiki.designcorner.co.ke\/?dc_term=angle-brackets"},"modified":"2026-11-10T08:03:22","modified_gmt":"2026-11-10T08:03:22","slug":"angle-brackets","status":"publish","type":"dc_term","link":"https:\/\/wiki.designcorner.co.ke\/?dc_term=angle-brackets","title":{"rendered":"Angle Brackets"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What it is<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Angle brackets enclose HTML and XML tags, express less-than and greater-than in maths and code, and wrap email addresses in headers.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why it matters for your business<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Unescaped angle brackets in website forms can break pages or enable attacks, so websites must handle them safely.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Real-world example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A comment form that did not escape angle brackets allowed someone to inject a script. Proper sanitisation fixed it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Design Corner tip<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Make sure your developer sanitises and escapes all user input.<\/p>\n\n\n","protected":false},"excerpt":{"rendered":"<p>The < and > symbols, used in HTML tags, comparisons and email address formatting.<\/p>\n","protected":false},"featured_media":0,"template":"","dc_letter":[6],"dc_topic":[34],"class_list":["post-616","dc_term","type-dc_term","status-publish","hentry","dc_letter-a","dc_topic-software-and-development"],"_links":{"self":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term"}],"about":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/types\/dc_term"}],"version-history":[{"count":1,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/616\/revisions"}],"predecessor-version":[{"id":800,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=\/wp\/v2\/dc_term\/616\/revisions\/800"}],"wp:attachment":[{"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=616"}],"wp:term":[{"taxonomy":"dc_letter","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_letter&post=616"},{"taxonomy":"dc_topic","embeddable":true,"href":"https:\/\/wiki.designcorner.co.ke\/index.php?rest_route=%2Fwp%2Fv2%2Fdc_topic&post=616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}