--- description: "Learn more about: <code>" title: "<code> (C++ documentation comments)" ms.date: "11/04/2016" f1_keywords: [""] helpviewer_keywords: [" C++ XML tag", "code C++ XML tag"] ms.assetid: 687db3f8-d435-4a90-b781-8da503fa39bc --- # <code> The \ tag gives you a way to indicate one or more lines as code. ## Syntax ``` content ``` #### Parameters *content*
The text you want marked as code. ## Remarks Use [\](c-visual-cpp.md) to indicate a portion of text should be marked as code. Compile with [/doc](doc-process-documentation-comments-c-cpp.md) to process documentation comments to a file. ## Example See the [\](example-visual-cpp.md) topic for an example of how to use the \ tag. ## See also [XML Documentation](xml-documentation-visual-cpp.md)