The syntax highlighting applied is the one associated to the tags being used (moderators can associate a syntax highlighting to every tag), the default syntax highlighting that is set by Stack Exchange employers for each individual SE site (the default one used on Stack Overflow is probably different from the one used on Drupal Answers), or the one that is set using an HTML comment similar to the following one: